SPMetabaseObject constructor
Initializes a new instance of the SPMetabaseObject class to return an instance of an existing site.
Namespace: Microsoft.SharePoint.AdministrationOperation
Assembly: Microsoft.SharePoint.AdministrationOperation (in Microsoft.SharePoint.AdministrationOperation.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.AdministrationOperation.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.