Méthode DependencyCollection.Contains
Determines whether the specified DependencyCollectionNode object is a member of the DependencyCollection object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function Contains ( _
dependencyCollectionNode As DependencyCollectionNode _
) As Boolean
'Utilisation
Dim instance As DependencyCollection
Dim dependencyCollectionNode As DependencyCollectionNode
Dim returnValue As Boolean
returnValue = instance.Contains(dependencyCollectionNode)
public bool Contains(
DependencyCollectionNode dependencyCollectionNode
)
public:
virtual bool Contains(
DependencyCollectionNode^ dependencyCollectionNode
) sealed
abstract Contains :
dependencyCollectionNode:DependencyCollectionNode -> bool
override Contains :
dependencyCollectionNode:DependencyCollectionNode -> bool
public final function Contains(
dependencyCollectionNode : DependencyCollectionNode
) : boolean
Paramètres
- dependencyCollectionNode
Type : Microsoft.SqlServer.Management.Smo.DependencyCollectionNode
A DependencyCollectionNode object that must be validated as a member of the DependencyCollection object.
Valeur de retour
Type : System.Boolean
A Boolean value that specifies whether the specified object exists in the DependencyCollection object.If True, it is a member of the collection. Otherwise, False.