Share via


ServiceIdentityKey.CreateServiceIdentityKey Method

Create a new ServiceIdentityKey object.

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

Syntax

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

Parameters

  • serviceIdentityId
    Type: System.Int64

    Initial value of ServiceIdentityId.

  • systemReserved
    Type: System.Boolean

    Initial value of SystemReserved.

Return Value

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

.NET Framework Security

See Also

Reference

ServiceIdentityKey Class

Microsoft.TeamFoundation.Framework.Server.AccessControl Namespace