Freigeben über


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

  • ruleGroupId
    Type: System.Int64

    Initial value of RuleGroupId.

  • conditionIssuerId
    Type: System.Int64

    Initial value of ConditionIssuerId.

  • systemReserved
    Type: System.Boolean

    Initial value of SystemReserved.

Return Value

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

.NET Framework Security

See Also

Reference

ConditionalRule Class

Microsoft.TeamFoundation.Framework.Server.AccessControl Namespace