Método RuleCollection.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
- rule
Tipo: Microsoft.SqlServer.Management.Smo.Rule
Rule object to be added to the Rule Collection.