Metoda ScriptDrop
Generuje InvalidSmoOperationException.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
Protected Overridable Sub ScriptDrop ( _
dropQuery As StringCollection, _
so As ScriptingOptions _
)
'Użycie
Dim dropQuery As StringCollection
Dim so As ScriptingOptions
Me.ScriptDrop(dropQuery, so)
protected virtual void ScriptDrop(
StringCollection dropQuery,
ScriptingOptions so
)
protected:
virtual void ScriptDrop(
StringCollection^ dropQuery,
ScriptingOptions^ so
)
abstract ScriptDrop :
dropQuery:StringCollection *
so:ScriptingOptions -> unit
override ScriptDrop :
dropQuery:StringCollection *
so:ScriptingOptions -> unit
protected function ScriptDrop(
dropQuery : StringCollection,
so : ScriptingOptions
)
Parameters
- dropQuery
Typ: System.Collections.Specialized. . :: . .StringCollection
A StringCollection obiektu.
- so
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions obiektu.