SPMetabaseObject constructor
Initializes a new instance of the SPMetabaseObject class to return an instance of an existing site.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Sub New ( _
parent As SPMetabaseObject, _
path As String _
)
'Usage
Dim parent As SPMetabaseObject
Dim path As String
Dim instance As New SPMetabaseObject(parent, _
path)
protected SPMetabaseObject(
SPMetabaseObject parent,
string path
)
Parameters
parent
Type: Microsoft.SharePoint.Administration.SPMetabaseObjectAn SPMetabaseObject object that represents the parent Web site of the directory.
path
Type: System.StringA string that contains the URL path for the virtual directory.