Freigeben über


SPServiceApplication.MigrateGroupAccount-Methode

Gruppe migriert.

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

Syntax

'Declaration
Protected Friend Overridable Function MigrateGroupAccount ( _
    subscriptionId As Guid, _
    oldPrincipalName As String, _
    newPrincipalName As String, _
    allowedOldBinaryIds As IEnumerable(Of Byte()), _
    newBinaryId As Byte() _
) As Boolean
'Usage
Dim subscriptionId As Guid
Dim oldPrincipalName As String
Dim newPrincipalName As String
Dim allowedOldBinaryIds As IEnumerable(Of Byte())
Dim newBinaryId As Byte()
Dim returnValue As Boolean

returnValue = Me.MigrateGroupAccount(subscriptionId, _
    oldPrincipalName, newPrincipalName, _
    allowedOldBinaryIds, newBinaryId)
protected internal virtual bool MigrateGroupAccount(
    Guid subscriptionId,
    string oldPrincipalName,
    string newPrincipalName,
    IEnumerable<byte[]> allowedOldBinaryIds,
    byte[] newBinaryId
)

Parameter

  • subscriptionId
    Typ: System.Guid

    Gezielte Abonnement-ID oder Guid.Empty alle Abonnements als Ziel

  • allowedOldBinaryIds
    Typ: System.Collections.Generic.IEnumerable<[]>

    Eine Liste der gültigen binäre IDs. Migrieren Sie nur die Elemente, die sich binäre Kennungen in der Liste. Wenn sie null ist, besteht es keine Einschränkung für die alte binären ID.

  • newBinaryId
    Typ: []

    Neuen binären ID.

Rückgabewert

Typ: System.Boolean
True, wenn der Dienst migriert Gruppe false andernfalls.

Siehe auch

Referenz

SPServiceApplication Klasse

SPServiceApplication-Member

Microsoft.SharePoint.Administration-Namespace