Compartilhar via


Método Rule.CreateRule

Crie um novo objeto de regra.

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

Sintaxe

'Declaração
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
)

Parâmetros

  • ruleGroupId
    Tipo: System.Int64
    Valor inicial de RuleGroupId.
  • systemReserved
    Tipo: System.Boolean
    Valor inicial de SystemReserved.

Valor de retorno

Tipo: Microsoft.TeamFoundation.Framework.Server.AccessControl.Rule
Retorna Rule.

Segurança do .NET Framework

Consulte também

Referência

Rule Classe

Namespace Microsoft.TeamFoundation.Framework.Server.AccessControl