共用方式為


DependencyChainCollection.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

參數

傳回值

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

請參閱

參考

DependencyChainCollection 類別

Add 多載

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間