Compartir a través de


: AreaService.CreateArea (Método) (Microsoft.SharePoint.Portal)

Creates the area.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<WebMethodAttribute> _
Public Function CreateArea ( _
    ParentID As Guid, _
    strName As String, _
    strTemplate As String _
) As Guid
'Uso
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
)

Parámetros

  • ParentID
    The unique identifier of the parent area.
  • strName
    The name of the area.
  • strTemplate
    The template for the area.

Valor devuelto

Guid, the unique identifier of the new area.

Vea también

Referencia

AreaService (Clase)
AreaService (Miembros)
Microsoft.SharePoint.Portal (Espacio de nombres)