Metodo ScriptDdl
Genera un oggetto InvalidSmoOperationException.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Protected Overridable Sub ScriptDdl ( _
query As StringCollection, _
so As ScriptingOptions _
)
'Utilizzo
Dim query As StringCollection
Dim so As ScriptingOptions
Me.ScriptDdl(query, so)
protected virtual void ScriptDdl(
StringCollection query,
ScriptingOptions so
)
protected:
virtual void ScriptDdl(
StringCollection^ query,
ScriptingOptions^ so
)
abstract ScriptDdl :
query:StringCollection *
so:ScriptingOptions -> unit
override ScriptDdl :
query:StringCollection *
so:ScriptingOptions -> unit
protected function ScriptDdl(
query : StringCollection,
so : ScriptingOptions
)
Parametri
- query
Tipo: System.Collections.Specialized. . :: . .StringCollection
Oggetto StringCollection.
- so
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
Oggetto ScriptingOptions.