Freigeben über


DependencyCollection.Contains Method

Determines whether the specified DependencyCollectionNode object is a member of the DependencyCollection object.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Function Contains ( _
    dependencyCollectionNode As DependencyCollectionNode _
) As Boolean
public bool Contains (
    DependencyCollectionNode dependencyCollectionNode
)
public:
virtual bool Contains (
    DependencyCollectionNode^ dependencyCollectionNode
) sealed
public final boolean Contains (
    DependencyCollectionNode dependencyCollectionNode
)
public final function Contains (
    dependencyCollectionNode : DependencyCollectionNode
) : boolean

Parameter

  • dependencyCollectionNode

Rückgabewert

A Boolean value that specifies whether the specified object exists in the DependencyCollection object. If True, it is a member of the collection. If False, it is not a member of the collection.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiel

How to: Script Out the Dependencies for a Database in Visual Basic .NET

Threadsicherheit

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

DependencyCollection Class
DependencyCollection Members
Microsoft.SqlServer.Management.Smo Namespace

Andere Ressourcen

Scripting