Sites.CreateWeb method

Namespace:  WebSvcsites
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/CreateWeb", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function CreateWeb ( _
    url As String, _
    title As String, _
    description As String, _
    templateName As String, _
    language As UInteger, _
    languageSpecified As Boolean, _
    locale As UInteger, _
    localeSpecified As Boolean, _
    collationLocale As UInteger, _
    collationLocaleSpecified As Boolean, _
    uniquePermissions As Boolean, _
    uniquePermissionsSpecified As Boolean, _
    anonymous As Boolean, _
    anonymousSpecified As Boolean, _
    presence As Boolean, _
    presenceSpecified As Boolean _
) As CreateWebResponseCreateWebResult
'Usage
Dim instance As Sites
Dim url As String
Dim title As String
Dim description As String
Dim templateName As String
Dim language As UInteger
Dim languageSpecified As Boolean
Dim locale As UInteger
Dim localeSpecified As Boolean
Dim collationLocale As UInteger
Dim collationLocaleSpecified As Boolean
Dim uniquePermissions As Boolean
Dim uniquePermissionsSpecified As Boolean
Dim anonymous As Boolean
Dim anonymousSpecified As Boolean
Dim presence As Boolean
Dim presenceSpecified As Boolean
Dim returnValue As CreateWebResponseCreateWebResult

returnValue = instance.CreateWeb(url, _
    title, description, templateName, _
    language, languageSpecified, locale, _
    localeSpecified, collationLocale, _
    collationLocaleSpecified, uniquePermissions, _
    uniquePermissionsSpecified, anonymous, _
    anonymousSpecified, presence, presenceSpecified)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/CreateWeb", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public CreateWebResponseCreateWebResult CreateWeb(
    string url,
    string title,
    string description,
    string templateName,
    uint language,
    bool languageSpecified,
    uint locale,
    bool localeSpecified,
    uint collationLocale,
    bool collationLocaleSpecified,
    bool uniquePermissions,
    bool uniquePermissionsSpecified,
    bool anonymous,
    bool anonymousSpecified,
    bool presence,
    bool presenceSpecified
)

Parameters

Return value

Type: WebSvcsites.CreateWebResponseCreateWebResult

See also

Reference

Sites class

Sites members

WebSvcsites namespace