共用方式為


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

傳回值

型別:System. . :: . .String