Sdílet prostřednictvím


DependencyChainCollection.Contains Method (Dependency)

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether the specified Dependency object is in 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 Contains ( _
    value As Dependency _
) As Boolean
'Usage
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

Parameters

Return Value

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