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