Metoda SqlSmoObject.ScriptDdl
Generuje InvalidSmoOperationException.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Protected Overridable Sub ScriptDdl ( _
query As StringCollection, _
so As ScriptingOptions _
)
'Użycie
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
)
Parametry
- query
Typ: System.Collections.Specialized.StringCollection
A StringCollection obiektu.
- so
Typ: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions obiektu.