ConditionalRule.CreateConditionalRule Method
Create a new ConditionalRule object.
Namespace: Microsoft.TeamFoundation.Framework.Server.AccessControl
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function CreateConditionalRule ( _
ID As Long, _
ruleGroupId As Long, _
issuerId As Long, _
conditionIssuerId As Long, _
systemReserved As Boolean _
) As ConditionalRule
public static ConditionalRule CreateConditionalRule(
long ID,
long ruleGroupId,
long issuerId,
long conditionIssuerId,
bool systemReserved
)
public:
static ConditionalRule^ CreateConditionalRule(
long long ID,
long long ruleGroupId,
long long issuerId,
long long conditionIssuerId,
bool systemReserved
)
static member CreateConditionalRule :
ID:int64 *
ruleGroupId:int64 *
issuerId:int64 *
conditionIssuerId:int64 *
systemReserved:bool -> ConditionalRule
public static function CreateConditionalRule(
ID : long,
ruleGroupId : long,
issuerId : long,
conditionIssuerId : long,
systemReserved : boolean
) : ConditionalRule
Parameters
ID
Type: System.Int64Initial value of Id.
ruleGroupId
Type: System.Int64Initial value of RuleGroupId.
issuerId
Type: System.Int64Initial value of IssuerId.
conditionIssuerId
Type: System.Int64Initial value of ConditionIssuerId.
systemReserved
Type: System.BooleanInitial value of SystemReserved.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControl.ConditionalRule
Returns ConditionalRule.
.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