Compartir a través de


GetBindRuleScript Método

Obtiene el script que especifica las reglas de enlace.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

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

Parámetros

  • futureOnly
    Tipo: System. . :: . .Boolean
    Valor booleano que especifica si el enlace solo hace referencia a los enlaces futuros.

Valor devuelto

Tipo: System. . :: . .String
Valor de cadena que contiene el script de enlace.