Creates the portal.
Namespace: DotNetNuke.Entities.PortalsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
int CreatePortal( string portalName, int adminUserId, string description, string keyWords, PortalController..::..PortalTemplateInfo template, string homeDirectory, string portalAlias, string serverPath, string childPath, bool isChildPortal ) |
Visual Basic |
---|
Function CreatePortal ( portalName As String, adminUserId As Integer, description As String, keyWords As String, template As PortalController..::..PortalTemplateInfo, homeDirectory As String, portalAlias As String, serverPath As String, childPath As String, isChildPortal As Boolean ) As Integer |
Parameters
- portalName
- Type: System..::..String
Name of the portal.
- adminUserId
- Type: System..::..Int32
The obj admin user.
- description
- Type: System..::..String
The description.
- keyWords
- Type: System..::..String
The key words.
- template
- Type: DotNetNuke.Entities.Portals..::..PortalController..::..PortalTemplateInfo
paramtemplateM:DotNetNuke.Entities.Portals.IPortalController.CreatePortal(System.String,System.Int32,System.String,System.String,DotNetNuke.Entities.Portals.PortalController.PortalTemplateInfo,System.String,System.String,System.String,System.String,System.Boolean)
- homeDirectory
- Type: System..::..String
The home directory.
- portalAlias
- Type: System..::..String
The portal alias.
- serverPath
- Type: System..::..String
The server path.
- childPath
- Type: System..::..String
The child path.
- isChildPortal
- Type: System..::..Boolean
if set to true means the portal is child portal.