Share via


Méthode ISfcPropertySet.Contains (String)

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

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

Syntaxe

'Déclaration
Private Function Contains(Of T) ( _
    name As String _
) As Boolean Implements ISfcPropertySet.Contains
'Utilisation
Dim instance As PropertyCollection
Dim name As String
Dim returnValue As Boolean

returnValue = CType(instance, ISfcPropertySet).Contains(name)
bool ISfcPropertySet.Contains<T>(
    string name
)
private:
generic<typename T>
virtual bool Contains(
    String^ name
) sealed = ISfcPropertySet::Contains
private abstract Contains : 
        name:string -> bool 
private override Contains : 
        name:string -> bool 
JScript ne prend pas en charge les types et les méthodes génériques.

Paramètres de type

  • T
    The type of property collection.

Paramètres

Valeur de retour

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

Implémente

ISfcPropertySet. . :: . .Contains< (Of < <' (T> ) > > )(String)