Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Create a new Delegation object.
Namespace:  Microsoft.TeamFoundation.Framework.Server.AccessControl
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
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
)
public:
static Delegation^ CreateDelegation(
    long long ID, 
    long long serviceIdentityId, 
    long long relyingPartyId, 
    bool systemReserved
)
static member CreateDelegation : 
        ID:int64 * 
        serviceIdentityId:int64 * 
        relyingPartyId:int64 * 
        systemReserved:bool -> Delegation
public static function CreateDelegation(
    ID : long, 
    serviceIdentityId : long, 
    relyingPartyId : long, 
    systemReserved : boolean
) : Delegation
Parameters
- ID 
 Type: System.Int64- Initial value of Id. 
- serviceIdentityId 
 Type: System.Int64- Initial value of ServiceIdentityId. 
- relyingPartyId 
 Type: System.Int64- Initial value of RelyingPartyId. 
- systemReserved 
 Type: System.Boolean- Initial value of SystemReserved. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControl.Delegation
Returns Delegation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Framework.Server.AccessControl Namespace