ScriptDdl-Methode
Löst InvalidSmoOperationException aus.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Overridable Sub ScriptDdl ( _
query As StringCollection, _
so As ScriptingOptions _
)
'Usage
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
)
Parameter
- query
Typ: System.Collections.Specialized. . :: . .StringCollection
Ein StringCollection-Objekt.
- so
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
Ein ScriptingOptions-Objekt.