Add 方法

Adds a new Rule to the Rule Collection

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Add ( _
    rule As Rule _
)
用法
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
)

参数

示例

使用集合