Sites.CreateWeb-Methode
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
)
Parameter
- url
Typ: System.String
- title
Typ: System.String
- description
Typ: System.String
- templateName
Typ: System.String
- language
Typ: System.UInt32
- languageSpecified
Typ: System.Boolean
- locale
Typ: System.UInt32
- localeSpecified
Typ: System.Boolean
- collationLocale
Typ: System.UInt32
- collationLocaleSpecified
Typ: System.Boolean
- uniquePermissions
Typ: System.Boolean
- uniquePermissionsSpecified
Typ: System.Boolean
- anonymous
Typ: System.Boolean
- anonymousSpecified
Typ: System.Boolean
- presence
Typ: System.Boolean
- presenceSpecified
Typ: System.Boolean
Rückgabewert
Typ: WebSvcsites.CreateWebResponseCreateWebResult