AreaService.CreateAreaListing Method

Creates the listing for the area.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function CreateAreaListing ( _
    ParentID As Guid, _
    strTitle As String, _
    strDescription As String, _
    type As ListingType, _
    strUrl As String _
) As Guid
'Usage
Dim instance As AreaService
Dim ParentID As Guid
Dim strTitle As String
Dim strDescription As String
Dim type As ListingType
Dim strUrl As String
Dim returnValue As Guid

returnValue = instance.CreateAreaListing(ParentID, _
    strTitle, strDescription, type, strUrl)
[WebMethodAttribute]
public Guid CreateAreaListing(
    Guid ParentID,
    string strTitle,
    string strDescription,
    ListingType type,
    string strUrl
)

Parameters

  • ParentID
    Type: System.Guid
    The unique identifier of the parent area.
  • strDescription
    Type: System.String
    The description of the area listing.

Return Value

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

See Also

Reference

AreaService Class

AreaService Members

Microsoft.SharePoint.Portal Namespace