Метод ScriptDdl
Вызывает исключение InvalidSmoOperationException.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Protected Overridable Sub ScriptDdl ( _
query As StringCollection, _
so As ScriptingOptions _
)
'Применение
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
)
Параметры
- query
Тип: System.Collections.Specialized. . :: . .StringCollection
Объект StringCollection.