Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Adds a Dependency object to the collection.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)
Синтаксис
'Декларация
Public Function Add ( _
value As Dependency _
) As Integer
public int Add (
Dependency value
)
public:
int Add (
Dependency^ value
)
public int Add (
Dependency value
)
public function Add (
value : Dependency
) : int
Параметры
- value
A Dependency object that is to be added to the DependencyChainCollection object.
Возвращаемое значение
A DependencyChainCollection object that specifies the collection after the Dependency object has been added.
Замечания
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Пример
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.
См. также
Справочник
DependencyChainCollection Class
DependencyChainCollection Members
Microsoft.SqlServer.Management.Smo Namespace