MigrationProfile.GetInstance Method (SPWeb, String)
Gets an instance of this MigrationProfile object.
Namespace: Microsoft.SharePoint.Publishing.Administration
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Function GetInstance ( _
web As SPWeb, _
profileName As String _
) As MigrationProfile
'Usage
Dim web As SPWeb
Dim profileName As String
Dim returnValue As MigrationProfile
returnValue = MigrationProfile.GetInstance(web, _
profileName)
public static MigrationProfile GetInstance(
SPWeb web,
string profileName
)
Parameters
- web
Type: Microsoft.SharePoint.SPWeb
The administration root Web.
- profileName
Type: System.String
The name of the site profile.
Return Value
Type: Microsoft.SharePoint.Publishing.Administration.MigrationProfile