Share via


RelyingPartyKey.CreateRelyingPartyKey Method

Create a new RelyingPartyKey object.

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

Syntax

'Declaration
Public Shared Function CreateRelyingPartyKey ( _
    ID As Long, _
    relyingPartyId As Long, _
    isPrimary As Boolean, _
    systemReserved As Boolean, _
    startDate As DateTime, _
    endDate As DateTime _
) As RelyingPartyKey
public static RelyingPartyKey CreateRelyingPartyKey(
    long ID,
    long relyingPartyId,
    bool isPrimary,
    bool systemReserved,
    DateTime startDate,
    DateTime endDate
)
public:
static RelyingPartyKey^ CreateRelyingPartyKey(
    long long ID, 
    long long relyingPartyId, 
    bool isPrimary, 
    bool systemReserved, 
    DateTime startDate, 
    DateTime endDate
)
static member CreateRelyingPartyKey : 
        ID:int64 * 
        relyingPartyId:int64 * 
        isPrimary:bool * 
        systemReserved:bool * 
        startDate:DateTime * 
        endDate:DateTime -> RelyingPartyKey
public static function CreateRelyingPartyKey(
    ID : long, 
    relyingPartyId : long, 
    isPrimary : boolean, 
    systemReserved : boolean, 
    startDate : DateTime, 
    endDate : DateTime
) : RelyingPartyKey

Parameters

  • relyingPartyId
    Type: System.Int64

    Initial value of RelyingPartyId.

  • systemReserved
    Type: System.Boolean

    Initial value of SystemReserved.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.AccessControl.RelyingPartyKey
Returns RelyingPartyKey.

.NET Framework Security

See Also

Reference

RelyingPartyKey Class

Microsoft.TeamFoundation.Framework.Server.AccessControl Namespace