不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Determines whether the specified Dependency object is in the collection.
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Function Contains ( _
value As Dependency _
) As Boolean
'用途
Dim instance As DependencyChainCollection
Dim value As Dependency
Dim returnValue As Boolean
returnValue = instance.Contains(value)
public bool Contains(
Dependency value
)
public:
bool Contains(
Dependency^ value
)
member Contains :
value:Dependency -> bool
public function Contains(
value : Dependency
) : boolean
參數
- value
型別:Microsoft.SqlServer.Management.Sdk.Sfc.Dependency
The Dependency object to find.
傳回值
型別:System.Boolean
true if value is found in the collection; otherwise, false.