DependencyChainCollection.Add Method (Dependency)
Do not reference this member directly in your code. It supports the SQL Server infrastructure. Adds the specified Dependency object to the collection.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Function Add ( _
value As Dependency _
) As Integer
'Usage
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
Parameters
- value
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Dependency
The Dependency object to add.
Return Value
Type: System.Int32
The index at which the Dependency object has been added.