Share via


SPSitePipeBind.Read method (Boolean)

Reads an SPSitePipeBind object and returns an object that represents the sub-site that exists at the specified URL.

Namespace:  Microsoft.SharePoint.PowerShell
Assembly:  Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)

Syntax

'Declaration
Public Function Read ( _
    exactUrl As Boolean _
) As SPSite
'Usage
Dim instance As SPSitePipeBind
Dim exactUrl As Boolean
Dim returnValue As SPSite

returnValue = instance.Read(exactUrl)
public SPSite Read(
    bool exactUrl
)

Parameters

  • exactUrl
    Type: System.Boolean

    The exact URL of the Web site to read.

Return value

Type: Microsoft.SharePoint.SPSite
An object that represents the sub-site.

See also

Reference

SPSitePipeBind class

SPSitePipeBind members

Read overload

Microsoft.SharePoint.PowerShell namespace