MigrationProfile.GetInstance Method (SPWeb, Guid)
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, _
profileId As Guid _
) As MigrationProfile
'Usage
Dim web As SPWeb
Dim profileId As Guid
Dim returnValue As MigrationProfile
returnValue = MigrationProfile.GetInstance(web, _
profileId)
public static MigrationProfile GetInstance(
SPWeb web,
Guid profileId
)
Parameters
- web
Type: Microsoft.SharePoint.SPWeb
The administration root Web.
- profileId
Type: System.Guid
The name of the site profile.
Return Value
Type: Microsoft.SharePoint.Publishing.Administration.MigrationProfile
An instance of this MigrationProfile[object].