共用方式為


RelyingPartyKey.CreateRelyingPartyKey 方法

建立新的 RelyingPartyKey 物件。

命名空間:  Microsoft.TeamFoundation.Framework.Server.AccessControl
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
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
)

參數

  • relyingPartyId
    型別:System.Int64
    RelyingPartyId 的初始值。
  • systemReserved
    型別:System.Boolean
    SystemReserved 的初始值。

傳回值

型別:Microsoft.TeamFoundation.Framework.Server.AccessControl.RelyingPartyKey
傳回 RelyingPartyKey

.NET Framework 安全性

請參閱

參考

RelyingPartyKey 類別

Microsoft.TeamFoundation.Framework.Server.AccessControl 命名空間