Метод ScriptDrop
Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Deletes a script that could be used to create the job, operator or alert category.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Protected Overrides Sub ScriptDrop ( _
queries As StringCollection, _
so As ScriptingOptions _
)
'Применение
Dim queries As StringCollection
Dim so As ScriptingOptions
Me.ScriptDrop(queries, so)
protected override void ScriptDrop(
StringCollection queries,
ScriptingOptions so
)
protected:
virtual void ScriptDrop(
StringCollection^ queries,
ScriptingOptions^ so
) override
abstract ScriptDrop :
queries:StringCollection *
so:ScriptingOptions -> unit
override ScriptDrop :
queries:StringCollection *
so:ScriptingOptions -> unit
protected override function ScriptDrop(
queries : StringCollection,
so : ScriptingOptions
)
Параметры
- queries
Тип: System.Collections.Specialized. . :: . .StringCollection
A StringCollection object.
- so
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object value that specifies the scripting options.