Share via


MigrationProfile.GetInstance Method (Guid)

Gets an instance of this MigrationProfile object by using profileId.

Namespace:  Microsoft.SharePoint.Publishing.Administration
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Shared Function GetInstance ( _
    profileId As Guid _
) As MigrationProfile
'Usage
Dim profileId As Guid
Dim returnValue As MigrationProfile

returnValue = MigrationProfile.GetInstance(profileId)
public static MigrationProfile GetInstance(
    Guid profileId
)

Parameters

  • profileId
    Type: System.Guid
    The GUID of the migration 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