共用方式為


SPWebApplication.MigrateUsers method (SPWebApplication.IMigrateUserCallback, SPWebApplication.SPMigrateUserParameters)

將使用者移轉至宣告式驗證。

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

Syntax

'宣告
Public Function MigrateUsers ( _
    callback As SPWebApplication.IMigrateUserCallback, _
    parameters As SPWebApplication.SPMigrateUserParameters _
) As Boolean
'用途
Dim instance As SPWebApplication
Dim callback As SPWebApplication.IMigrateUserCallback
Dim parameters As SPWebApplication.SPMigrateUserParameters
Dim returnValue As Boolean

returnValue = instance.MigrateUsers(callback, _
    parameters)
public bool MigrateUsers(
    SPWebApplication.IMigrateUserCallback callback,
    SPWebApplication.SPMigrateUserParameters parameters
)

參數

傳回值

Type: System.Boolean
true如果成功 ;否則,請false。

請參閱

參照

SPWebApplication class

SPWebApplication members

MigrateUsers overload

Microsoft.SharePoint.Administration namespace