Partager via


Méthode ScriptDrop

Lève une exception InvalidSmoOperationException.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Protected Overridable Sub ScriptDrop ( _
    dropQuery As StringCollection, _
    so As ScriptingOptions _
)
'Utilisation
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
)