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
)
參數
- rule
型別:Microsoft.SqlServer.Management.Smo. . :: . .Rule
Rule object to be added to the Rule Collection.