Método GetBindRuleScript
Obtém o script que especifica as regras de associação.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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
- so
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
Um objeto ScriptingOptions.
- ruleSchema
Tipo: System. . :: . .String
Um valor de cadeia de caracteres que especifica o esquema da regra.
- ruleName
Tipo: System. . :: . .String
Um valor de cadeia de caracteres que especifica o nome da regra.
- futureOnly
Tipo: System. . :: . .Boolean
Um valor Booliano que especifica se a associação referencia apenas associações futuras.
Valor de retorno
Tipo: System. . :: . .String
Um valor de cadeia de caracteres que contém o script de associação.