Partilhar via


SPSiteLookupProvider.SetSiteSubscription Method

Updates the site subscription ID of the specified site collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public MustOverride Sub SetSiteSubscription ( _
    siteId As Guid, _
    siteSubscriptionId As Guid _
)
'Usage
Dim instance As SPSiteLookupProvider
Dim siteId As Guid
Dim siteSubscriptionId As Guid

instance.SetSiteSubscription(siteId, _
    siteSubscriptionId)
public abstract void SetSiteSubscription(
    Guid siteId,
    Guid siteSubscriptionId
)

Parameters

  • siteId
    Type: System.Guid

    The GUID of the site collection to update.

  • siteSubscriptionId
    Type: System.Guid

    The GUID that specifies the new site subscription ID.

See Also

Reference

SPSiteLookupProvider Class

SPSiteLookupProvider Members

Microsoft.SharePoint.Administration Namespace