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