Share via


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

Return Value

Type: Microsoft.SharePoint.Publishing.Administration.MigrationProfile

See Also

Reference

MigrationProfile Class

MigrationProfile Members

GetInstance Overload

Microsoft.SharePoint.Publishing.Administration Namespace