Share via


SPDeletedSitePipeBind Constructor (String)

Initializes a new instance of the SPDeletedSitePipeBind class with the specified ID of the deleted site.

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

Syntax

'Declaration
Public Sub New ( _
    str As String _
)
'Usage
Dim str As String

Dim instance As New SPDeletedSitePipeBind(str)
public SPDeletedSitePipeBind(
    string str
)

Parameters

Remarks

If the str parameter is not null , this constructor attempts to convert it into a GUID and stores that value in the SiteId property. If this constructor cannot convert the str parameter to a GUID, such as when it is in the incorrect format, it stores the value of the str parameter in the Path property.

See Also

Reference

SPDeletedSitePipeBind Class

SPDeletedSitePipeBind Members

SPDeletedSitePipeBind Overload

Microsoft.SharePoint.PowerShell Namespace