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.
- strTitle
Type: System.String
The title of the area listing.
- strDescription
Type: System.String
The description of the area listing.
- type
Type: Microsoft.SharePoint.Portal.SiteData.ListingType
The type of area listing.
- strUrl
Type: System.String
The URL.
Return Value
Type: System.Guid
Guid, the unique identifier of area listing.