不要直接在程式碼中參照此成員。其支援 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
參數
- value
型別:Microsoft.SqlServer.Management.Sdk.Sfc.Dependency
The Dependency object to add.
傳回值
型別:System.Int32
The index at which the Dependency object has been added.