Partilhar via


Método Add

Adds a new Rule to the Rule Collection

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Add ( _
    rule As Rule _
)
'Uso
Dim instance As RuleCollection
Dim rule As Rule

instance.Add(rule)
public void Add(
    Rule rule
)
public:
void Add(
    Rule^ rule
)
member Add : 
        rule:Rule -> unit 
public function Add(
    rule : Rule
)

Parâmetros