Share via


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

  • profileId
    Type: System.Guid
    The name of the site profile.

Return Value

Type: Microsoft.SharePoint.Publishing.Administration.MigrationProfile
An instance of this MigrationProfile[object].

See Also

Reference

MigrationProfile Class

MigrationProfile Members

GetInstance Overload

Microsoft.SharePoint.Publishing.Administration Namespace