GetBindRuleScript-Methode

Ruft das Skript ab, das die Bindungsregeln angibt.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Function GetBindRuleScript ( _
    so As ScriptingOptions, _
    ruleSchema As String, _
    ruleName As String, _
    futureOnly As Boolean _
) As String
'Usage
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

Parameter

  • futureOnly
    Typ: System. . :: . .Boolean
    Ein boolescher Wert, der angibt, ob die Bindung nur auf zukünftige Bindungen verweist.

Rückgabewert

Typ: System. . :: . .String
Ein Zeichenfolgenwert, der das Bindungsskript enthält.