Condividi tramite


Metodo SfcPropertyCollection.Contains<T> (String)

Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Function Contains(Of T) ( _
    propertyName As String _
) As Boolean
'Utilizzo
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 non supporta i metodi e i tipi generici.

Parametri di tipo

  • T

Parametri

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

Valore restituito

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

Implementa

ISfcPropertySet.Contains<T>(String)

Vedere anche

Riferimento

SfcPropertyCollection Classe

Overload Contains

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc