次の方法で共有


SPSiteSubscription members

Represents a collection of all SPSite objects that currently subscribe to service partitions, settings, and features.

The SPSiteSubscription type exposes the following members.

Properties

  Name Description
Public property Id Gets the unique ID associated with this SPSiteSubscription.
Public property Sites Gets a collection of SPSite objects associated with this SPSiteSubscription.

Top

Methods

  Name Description
Public method Add Adds an SPSite to this SPSiteSubscription.
Public methodStatic member Create Creates a site subscription object.
Public method Delete Deletes the site subscription and all member SPSite objects.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetSites(SPContentDatabase) Retrieves the site collections that belong to the site subscription in the specified content database.
Public method GetSites(SPWebApplication) Retrieves the site collections that belong to the site subscription in the specified Web application.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a human-readable string representation of the site subscription. (Overrides Object.ToString().)

Top

See also

Reference

SPSiteSubscription class

Microsoft.SharePoint namespace