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
- ID 
 Type: System.Int64- Initial value of Id. 
- relyingPartyId 
 Type: System.Int64- Initial value of RelyingPartyId. 
- isPrimary 
 Type: System.Boolean- Initial value of IsPrimary. 
- systemReserved 
 Type: System.Boolean- Initial value of SystemReserved. 
- startDate 
 Type: System.DateTime- Initial value of StartDate. 
- endDate 
 Type: System.DateTime- Initial value of EndDate. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControl.RelyingPartyKey
Returns RelyingPartyKey.
.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