共用方式為


DependencyChainCollection.Contains 方法 (Dependency)

不要直接在程式碼中參照此成員。其支援 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

參數

傳回值

型別:System.Boolean
true if value is found in the collection; otherwise, false.

請參閱

參考

DependencyChainCollection 類別

Contains 多載

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