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.
Assembly: Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)
'Declaration <SerializableAttribute> _ Public NotInheritable Class SPServiceContextPipeBind 'Usage Dim instance As SPServiceContextPipeBind
[SerializableAttribute] public sealed class SPServiceContextPipeBind
This class provides overloaded constructors that you can use to bind to different representations of input information by supplying objects of varying types as parameters to the constructors. This class additionally provides its own Read method, which is used by cmdlet classes to retrieve results. The Read method is used to retrieve the SPServiceContext object instance associated with the current SPServiceContextPipeBind object.
This class is sealed and cannot be inherited.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.