(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String) del método SPSite.SelfServiceCreateSite
Espacio de nombres: Microsoft.SharePoint
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
Public Function SelfServiceCreateSite ( _
siteUrl As String, _
title As String, _
description As String, _
nLCID As UInteger, _
compatibilityLevel As Integer, _
webTemplate As String, _
ownerLogin As String, _
ownerName As String, _
ownerEmail As String, _
contactLogin As String, _
contactName As String, _
contactEmail As String, _
quotaTemplate As String _
) As SPSite
'Uso
Dim instance As SPSite
Dim siteUrl As String
Dim title As String
Dim description As String
Dim nLCID As UInteger
Dim compatibilityLevel As Integer
Dim webTemplate As String
Dim ownerLogin As String
Dim ownerName As String
Dim ownerEmail As String
Dim contactLogin As String
Dim contactName As String
Dim contactEmail As String
Dim quotaTemplate As String
Dim returnValue As SPSite
returnValue = instance.SelfServiceCreateSite(siteUrl, _
title, description, nLCID, compatibilityLevel, _
webTemplate, ownerLogin, ownerName, _
ownerEmail, contactLogin, contactName, _
contactEmail, quotaTemplate)
public SPSite SelfServiceCreateSite(
string siteUrl,
string title,
string description,
uint nLCID,
int compatibilityLevel,
string webTemplate,
string ownerLogin,
string ownerName,
string ownerEmail,
string contactLogin,
string contactName,
string contactEmail,
string quotaTemplate
)
Parámetros
siteUrl
Tipo: System.StringThe absolute URL for the site collection.
title
Tipo: System.StringTitle of the site to create.
description
Tipo: System.StringA description of the site to create.
nLCID
Tipo: System.UInt32An unsigned 32-bit integer representing the location identifier.
- compatibilityLevel
Tipo: System.Int32
webTemplate
Tipo: System.StringName of the site definition to use in creating the site collection.
ownerLogin
Tipo: System.StringLogin name of the site collection owner.
ownerName
Tipo: System.StringDisplay name for the site collection owner.
ownerEmail
Tipo: System.StringEmail for the site collection owner.
contactLogin
Tipo: System.StringLogin name of the site collection secondary contact.
contactName
Tipo: System.StringDisplay name for the site collection secondary contact.
contactEmail
Tipo: System.StringEmail for the site collection secondary contact.
quotaTemplate
Tipo: System.StringQuota template name.
Valor devuelto
Tipo: Microsoft.SharePoint.SPSite
An SPSite object that represents the new site collection.
Comentarios
This method throws an ArgumentException if the value passed for strSiteUrl does not specify an absolute URL. If this method is called when Self-Service Site Creation is disabled on the server an SPException is thrown.