SPServiceContextPipeBind members

Represents a binding for pipeline and command-line input to PowerShell cmdlet parameters. The binding that this class represents is to input parameters specific to SharePoint Service context that is represented as an SPServiceContext object. This class facilitates the binding to and handling of input parameters as an instance of an SPServiceContext object, an SPSiteAdministration object identifier, or any of the following belonging to an SPSite object: An identifier from the Id field, a string identifier, a URI or a string representation of a GUID.

The SPServiceContextPipeBind type exposes the following members.

Constructors

  Name Description
Public method SPServiceContextPipeBind(SPServiceContext) Initializes a new instance of the SPServiceContextPipeBind class and provides an SPServiceContext object instance.
Public method SPServiceContextPipeBind(SPSite) Initializes a new instance of the SPServiceContextPipeBind class and provides an SPSite object instance.
Public method SPServiceContextPipeBind(Guid) Initializes a new instance of the SPServiceContextPipeBind class by using a guid that uniquely identifies the specified SPSite object.
Public method SPServiceContextPipeBind(String) Initializes a new instance of the SPServiceContextPipeBind class by using a string ID value that uniquely identifies the object.
Public method SPServiceContextPipeBind(Uri) Initializes a new instance of the SPServiceContextPipeBind class using a URI value that uniquely identifies a specified SPSite object.
Public method SPServiceContextPipeBind(SPSiteAdministration) Initializes a new instance of the SPServiceContextPipeBind class and provides a SPSiteAdministration object instance.

Top

Methods

  Name Description
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 Retrieves the SPServiceContext object that corresponds to the parameters that were passed to the current SPServiceContextPipeBind object when it was constructed.
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPServiceContextPipeBind class

Microsoft.SharePoint.PowerShell namespace