Share via


SPWebPipeBind Members

Include Protected Members
Include Inherited 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 SharePoint Web site, and as the string representation of a GUID reference to or the URL of the site.

The SPWebPipeBind type exposes the following members.

Constructors

  Name Description
Public method SPWebPipeBind(SPWeb) Initializes a new instance of the SPWebPipeBind class with an instance of the SPWeb object.
Public method SPWebPipeBind(Guid) Initializes a new instance of the SPWebPipeBind class with the guid of the SPWeb object instance.
Public method SPWebPipeBind(String) Initializes a new instance of the SPWebPipeBind class with captures SPWeb identifying inputs as a string.
Public method SPWebPipeBind(Uri) Initializes a new instance of the SPWebPipeBind class with the URI of the specified SPWeb object instace.

Top

Properties

  Name Description
Public property IsCollection Gets a Boolean value that specifies whether the object is a collection.
Public property WebGuid Gets the identifying guid of the associated SPWeb object.
Public property WebUrl Gets the string representation of the URL of the associated SPWeb object.

Top

Methods

  Name Description
Protected method Discover Populates information to recover the specified SPWeb object. (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() Retrieves an SPWeb object by using either the absolute URL or the site guid along with the Web guid. (Overrides SPCmdletPipeBind<TCmdletObject>.Read().)
Public method Read(SPSite) Retrieves an SPWeb object that is defined by both site and relative URL. If the site is null, it uses the Web guid and site guid, or the absolute URL.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPWebPipeBind Class

Microsoft.SharePoint.PowerShell Namespace