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
- ID
Tipo: System.Int64
Valor inicial de Id.
- 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
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.
Consulte também
Referência
Namespace Microsoft.TeamFoundation.Framework.Server.AccessControl