Partager via


Méthode SfcPropertyCollection.Contains<T> (String)

Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

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

Syntaxe

'Déclaration
Public Function Contains(Of T) ( _
    propertyName As String _
) As Boolean
'Utilisation
Dim instance As SfcPropertyCollection 
Dim propertyName As String 
Dim returnValue As Boolean 

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

Paramètres de type

  • T

Paramètres

  • propertyName
    Type : System.String
    A string that represents the property name.

Valeur de retour

Type : System.Boolean
true if the specified property exists in the property collection; otherwise, false.

Implémente

ISfcPropertySet.Contains<T>(String)

Voir aussi

Référence

SfcPropertyCollection Classe

Surcharge Contains

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc