共用方式為


SPFarm.MigrateGroup method

類似於 MigrateUserAccount,但不包括群組

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

Syntax

'宣告
Public Sub MigrateGroup ( _
    oldLogin As String, _
    newLogin As String _
)
'用途
Dim instance As SPFarm
Dim oldLogin As String
Dim newLogin As String

instance.MigrateGroup(oldLogin, newLogin)
public void MigrateGroup(
    string oldLogin,
    string newLogin
)

參數

請參閱

參照

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace