Compartilhar via


Método Delegation.CreateDelegation

Crie um novo objeto delegação.

Namespace:  Microsoft.TeamFoundation.Framework.Server.AccessControl
Assembly:  Microsoft.TeamFoundation.Framework.Server (em Microsoft.TeamFoundation.Framework.Server.dll)

Sintaxe

'Declaração
Public Shared Function CreateDelegation ( _
    ID As Long, _
    serviceIdentityId As Long, _
    relyingPartyId As Long, _
    systemReserved As Boolean _
) As Delegation
public static Delegation CreateDelegation(
    long ID,
    long serviceIdentityId,
    long relyingPartyId,
    bool systemReserved
)

Parâmetros

  • serviceIdentityId
    Tipo: System.Int64
    Valor inicial de ServiceIdentityId.
  • relyingPartyId
    Tipo: System.Int64
    Valor inicial de RelyingPartyId.
  • systemReserved
    Tipo: System.Boolean
    Valor inicial de SystemReserved.

Valor de retorno

Tipo: Microsoft.TeamFoundation.Framework.Server.AccessControl.Delegation
Retorna Delegation.

Segurança do .NET Framework

Consulte também

Referência

Delegation Classe

Namespace Microsoft.TeamFoundation.Framework.Server.AccessControl