Share via


SPSiteSubscriptionCollection.Item property

Gets the site subscription with the specified GUID from the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    id As Guid _
) As SPSiteSubscription
    Get
'Usage
Dim instance As SPSiteSubscriptionCollection
Dim id As Guid
Dim value As SPSiteSubscription

value = instance(id)
public SPSiteSubscription this[
    Guid id
] { get; }

Parameters

  • id
    Type: System.Guid

    The GUID of the site subscription.

Property value

Type: Microsoft.SharePoint.SPSiteSubscription
SPSiteSubscription
The site subscription.

See also

Reference

SPSiteSubscriptionCollection class

SPSiteSubscriptionCollection members

Microsoft.SharePoint namespace