Метод Add (Dependency)
Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Adds the specified Dependency object to the collection.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Public Function Add ( _
value As Dependency _
) As Integer
'Применение
Dim instance As DependencyChainCollection
Dim value As Dependency
Dim returnValue As Integer
returnValue = instance.Add(value)
public int Add(
Dependency value
)
public:
int Add(
Dependency^ value
)
member Add :
value:Dependency -> int
public function Add(
value : Dependency
) : int
Параметры
- value
Тип: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Dependency
The Dependency object to add.
Возвращаемое значение
Тип: System. . :: . .Int32
The index at which the Dependency object has been added.