Freigeben über


Contains-Methode (Dependency)

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. 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

Rückgabewert

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