Metodo GetBindDefaultScript
Ottiene lo script che associa le impostazioni predefinite specificate dai parametri defSchema e defName.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Protected Function GetBindDefaultScript ( _
so As ScriptingOptions, _
defSchema As String, _
defName As String, _
futureOnly As Boolean _
) As String
'Utilizzo
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
Parametri
- so
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
Oggetto ScriptingOptions.
- defSchema
Tipo: System. . :: . .String
Valore stringa che specifica lo schema predefinito.
- defName
Tipo: System. . :: . .String
Valore stringa che specifica il nome predefinito.
- futureOnly
Tipo: System. . :: . .Boolean
Valore booleano che specifica se l'associazione si riferisce solo alle associazioni future.
Valore restituito
Tipo: System. . :: . .String
Valore stringa che contiene lo script di associazione.