SPSitePipeBind members

Represents a binding for pipeline and command-line input to PowerShell cmdlet parameters. This class facilitates the binding to and handling of input parameters as a string representation of a GUID reference, a string representation of a URI, a GUID or URI referencing an SPSite object, the SPSite object itself, or an SPSiteAdministration object.

The SPSitePipeBind type exposes the following members.

Constructors

  Name Description
Public method SPSitePipeBind(SPSite) Initializes a new instance of the SPSitePipeBind class using the specified site collection.
Public method SPSitePipeBind(Guid) Initializes a new instance of the SPSitePipeBind class using the specified GUID.
Public method SPSitePipeBind(String) Initializes a new instance of the SPSitePipeBind class using the specified input string.
Public method SPSitePipeBind(Uri) Initializes a new instance of the SPSitePipeBind class using the specified URI.
Public method SPSitePipeBind(SPSiteAdministration) Initializes a new instance of the SPSitePipeBind class using the specified site collection administration object.

Top

Properties

  Name Description
Public property IsCollection Gets a read-only value that specifies whether the object is a collection.
Public property SiteGuid Gets a read-only guid that uniquely identifies the site object.
Public property SiteUrl Gets a read-only value that represents the URL of the site object.

Top

Methods

  Name Description
Protected method Discover Populates information that is required to retrieve an SPSite object instance. (Overrides SPCmdletPipeBind<TCmdletObject>.Discover(TCmdletObject).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Read() Reads an SPSitePipeBind object and returns an object that represents the site. (Overrides SPCmdletPipeBind<TCmdletObject>.Read().)
Public method Read(Boolean) Reads an SPSitePipeBind object and returns an object that represents the sub-site that exists at the specified URL.
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPSitePipeBind class

Microsoft.SharePoint.PowerShell namespace