Método GetBindDefaultScript

Obtém o script que associa padrões especificados pelos parâmetros defSchema e defName.

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

Sintaxe

'Declaração
Protected Function GetBindDefaultScript ( _
    so As ScriptingOptions, _
    defSchema As String, _
    defName As String, _
    futureOnly As Boolean _
) As String
'Uso
Dim so As ScriptingOptions
Dim defSchema As String
Dim defName As String
Dim futureOnly As Boolean
Dim returnValue As String

returnValue = Me.GetBindDefaultScript(so, _
    defSchema, defName, futureOnly)
protected string GetBindDefaultScript(
    ScriptingOptions so,
    string defSchema,
    string defName,
    bool futureOnly
)
protected:
String^ GetBindDefaultScript(
    ScriptingOptions^ so, 
    String^ defSchema, 
    String^ defName, 
    bool futureOnly
)
member GetBindDefaultScript : 
        so:ScriptingOptions * 
        defSchema:string * 
        defName:string * 
        futureOnly:bool -> string 
protected function GetBindDefaultScript(
    so : ScriptingOptions, 
    defSchema : String, 
    defName : String, 
    futureOnly : boolean
) : String

Parâmetros

  • 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.