GetBindRuleScript 方法
获取指定绑定规则的脚本。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Protected Function GetBindRuleScript ( _
so As ScriptingOptions, _
ruleSchema As String, _
ruleName As String, _
futureOnly As Boolean _
) As String
用法
Dim so As ScriptingOptions
Dim ruleSchema As String
Dim ruleName As String
Dim futureOnly As Boolean
Dim returnValue As String
returnValue = Me.GetBindRuleScript(so, _
ruleSchema, ruleName, futureOnly)
protected string GetBindRuleScript(
ScriptingOptions so,
string ruleSchema,
string ruleName,
bool futureOnly
)
protected:
String^ GetBindRuleScript(
ScriptingOptions^ so,
String^ ruleSchema,
String^ ruleName,
bool futureOnly
)
member GetBindRuleScript :
so:ScriptingOptions *
ruleSchema:string *
ruleName:string *
futureOnly:bool -> string
protected function GetBindRuleScript(
so : ScriptingOptions,
ruleSchema : String,
ruleName : String,
futureOnly : boolean
) : String
参数
- ruleSchema
类型:System. . :: . .String
一个指定规则架构的字符串值。
- ruleName
类型:System. . :: . .String
一个指定规则名称的字符串值。
- futureOnly
类型:System. . :: . .Boolean
一个布尔值,指定绑定是否仅引用未来的绑定。
返回值
类型:System. . :: . .String
一个包含绑定脚本的字符串值。