Freigeben über


Add-Methode (Dependency)

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. 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

Rückgabewert

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