Share via


AreaService.CreateArea Method

Creates the area.

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

Syntax

'Declaration
<WebMethodAttribute> _
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)
[WebMethodAttribute]
public Guid CreateArea(
    Guid ParentID,
    string strName,
    string strTemplate
)

Parameters

  • 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

Reference

AreaService Class

AreaService Members

Microsoft.SharePoint.Portal Namespace