Scripter.ScriptWithList Method (DependencyCollection)

Creates linear Transact-SQL scripts for a DependencyCollection object.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Function ScriptWithList ( _
    depList As DependencyCollection _
) As StringCollection
public StringCollection ScriptWithList (
    DependencyCollection depList
)
public:
StringCollection^ ScriptWithList (
    DependencyCollection^ depList
)
public StringCollection ScriptWithList (
    DependencyCollection depList
)
public function ScriptWithList (
    depList : DependencyCollection
) : StringCollection

Параметры

Возвращаемое значение

A SqlSmoObject object array value that specifies the list of objects to be scripted.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Script Out the Dependencies for a Database in Visual Basic .NET

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Scripter Class
Scripter Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

Scripting