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
ID
Type: System.Int64Initial value of Id.
serviceIdentityId
Type: System.Int64Initial value of ServiceIdentityId.
systemReserved
Type: System.BooleanInitial value of SystemReserved.
startDate
Type: System.DateTimeInitial value of StartDate.
endDate
Type: System.DateTimeInitial value of EndDate.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControl.ServiceIdentityKey
Returns ServiceIdentityKey.
.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