Share via


ISPGroupMigrator.MigrateGroup method

Migrates a group from one name to another.

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

Syntax

'Declaration
Function MigrateGroup ( _
    oldName As String, _
    newName As String _
) As Boolean
'Usage
Dim instance As ISPGroupMigrator
Dim oldName As String
Dim newName As String
Dim returnValue As Boolean

returnValue = instance.MigrateGroup(oldName, _
    newName)
bool MigrateGroup(
    string oldName,
    string newName
)

Parameters

Return value

Type: System.Boolean
A Boolean value = true if at least one entry for the group was migrated.

See also

Reference

ISPGroupMigrator interface

ISPGroupMigrator members

Microsoft.SharePoint.Administration namespace