次の方法で共有


SPSiteSubscription.Create method

Creates a site subscription object.

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

Syntax

'Declaration
Public Shared Function Create As SPSiteSubscription
'Usage
Dim returnValue As SPSiteSubscription

returnValue = SPSiteSubscription.Create()
public static SPSiteSubscription Create()

Return value

Type: Microsoft.SharePoint.SPSiteSubscription
SPSiteSubscription
A new site subscription object.

Exceptions

Exception Condition
InvalidOperationException

A local farm object is not available.

See also

Reference

SPSiteSubscription class

SPSiteSubscription members

Microsoft.SharePoint namespace