AreaService.CreateArea Method

Obsolete. Creates the area.

Web Service: AreaWeb Reference: http://<Site>/_vti_bin/AreaService.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/WebQueryService/CreateArea", RequestNamespace:="https://microsoft.com/webservices/SharePointPortalServer/WebQueryService/", ResponseNamespace:="https://microsoft.com/webservices/SharePointPortalServer/WebQueryService/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function CreateArea ( _
    ParentID As Guid, _
    strName As String, _
    strTemplate As String _
) As Guid
'Usage
Dim instance As AreaService
Dim ParentID As Guid
Dim strName As String
Dim strTemplate As String
Dim returnValue As Guid

returnValue = instance.CreateArea(ParentID, strName, strTemplate)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/WebQueryService/CreateArea", RequestNamespace="https://microsoft.com/webservices/SharePointPortalServer/WebQueryService/", ResponseNamespace="https://microsoft.com/webservices/SharePointPortalServer/WebQueryService/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public Guid CreateArea (
    Guid ParentID,
    string strName,
    string strTemplate
)

Parameters

  • ParentID
    Unique identifier of the parent area.
  • strName
    Name of the area.
  • strTemplate
    Template for the area.

Return Value

Guid. The unique identifier of the new area.

See Also

Reference

AreaService Class
AreaService Members
Area Web Service