Méthode RuleCollection.Add
Adds a new Rule to the Rule Collection
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
rule As Rule _
)
'Utilisation
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
)
Paramètres
- rule
Type : Microsoft.SqlServer.Management.Smo.Rule
Rule object to be added to the Rule Collection.