Condividi tramite


Metodo Add (Dependency)

Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Adds the specified Dependency object to the collection.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    value As Dependency _
) As Integer
'Utilizzo
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

Valore restituito

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