Partilhar via


Método Add (Dependency)

Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Adds the specified Dependency object to the collection.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public Function Add ( _
    value As Dependency _
) As Integer
'Uso
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

Parâmetros

Valor de retorno

Tipo: System. . :: . .Int32
The index at which the Dependency object has been added.