AreaService.CreateArea Method

Creates the area.

Namespace:  Microsoft.SharePoint.Portal
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)


<WebMethodAttribute> _
Public Function CreateArea ( _
    ParentID As Guid, _
    strName As String, _
    strTemplate As String _
) As Guid
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)
public Guid CreateArea(
    Guid ParentID,
    string strName,
    string strTemplate


  • ParentID
    Type: System.Guid
    The unique identifier of the parent area.

Return Value

Type: System.Guid
Guid, the unique identifier of the new area.

See Also


AreaService Class

AreaService Members

Microsoft.SharePoint.Portal Namespace