AreaService.CreateArea Method

Obsolete. Creates the area.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/WebQueryService/CreateArea", RequestNamespace:="http://microsoft.com/webservices/SharePointPortalServer/WebQueryService/", ResponseNamespace:="http://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("http://microsoft.com/webservices/SharePointPortalServer/WebQueryService/CreateArea", RequestNamespace="http://microsoft.com/webservices/SharePointPortalServer/WebQueryService/", ResponseNamespace="http://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