Share via


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

パラメーター

  • futureOnly
    型: System. . :: . .Boolean
    バインドが将来のバインドのみを参照するかどうかを示すブール値です。

戻り値

型: System. . :: . .String
バインド スクリプトを表す文字列値です。