MigrationProfile.CreateNew Method (SPWeb, String)

Creates a new MigrationProfile object by using the web and a profileName values.

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

Syntax

'Declaration
Public Shared Function CreateNew ( _
    web As SPWeb, _
    profileName As String _
) As MigrationProfile
'Usage
Dim web As SPWeb
Dim profileName As String
Dim returnValue As MigrationProfile

returnValue = MigrationProfile.CreateNew(web, _
    profileName)
public static MigrationProfile CreateNew(
    SPWeb web,
    string profileName
)

Parameters

Return Value

Type: Microsoft.SharePoint.Publishing.Administration.MigrationProfile
A new MigrationProfile object based on web and profileName values.

See Also

Reference

MigrationProfile Class

MigrationProfile Members

CreateNew Overload

Microsoft.SharePoint.Publishing.Administration Namespace