SPPrefixPipeBind.Read Method (SPWebService)
Retrieves the SPPrefix object that is associated with the specified Web service SPWebService.
Namespace: Microsoft.SharePoint.PowerShell
Assembly: Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)
Syntax
'Declaration
Public Function Read ( _
webService As SPWebService _
) As SPPrefix
'Usage
Dim instance As SPPrefixPipeBind
Dim webService As SPWebService
Dim returnValue As SPPrefix
returnValue = instance.Read(webService)
public SPPrefix Read(
SPWebService webService
)
Parameters
webService
Type: Microsoft.SharePoint.Administration.SPWebServiceThe Web service object (SPWebService) for which the SPPrefix is retrieved.
Return Value
Type: Microsoft.SharePoint.Administration.SPPrefix
Returns an SPPrefix object instance.