Share via


Méthode ISfcPropertySet.Contains (ISfcProperty)

Determines whether the property collection contains the property specified by the parameter.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Private Function Contains ( _
    property As ISfcProperty _
) As Boolean Implements ISfcPropertySet.Contains
'Utilisation
Dim instance As PropertyCollection
Dim property As ISfcProperty
Dim returnValue As Boolean

returnValue = CType(instance, ISfcPropertySet).Contains(property)
bool ISfcPropertySet.Contains(
    ISfcProperty property
)
private:
virtual bool Contains(
    ISfcProperty^ property
) sealed = ISfcPropertySet::Contains
private abstract Contains : 
        property:ISfcProperty -> bool 
private override Contains : 
        property:ISfcProperty -> bool 
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Valeur de retour

Type : System. . :: . .Boolean
A Boolean value, True if the collection contains the property, otherwise False.

Implémente

ISfcPropertySet. . :: . .Contains(ISfcProperty)