Udostępnij przez


Metoda SfcPropertyCollection.Contains<T> (String)

Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Składnia

'Deklaracja
Public Function Contains(Of T) ( _
    propertyName As String _
) As Boolean
'Użycie
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 
Język JScript nie obsługuje ogólnych typów i metod.

Parametry typów

  • T

Parametry

  • propertyName
    Typ: System.String
    Ciąg, który reprezentuje nazwę właściwość.

Wartość zwracana

Typ: System.Boolean
TRUE Jeśli określona właściwość istnieje kolekcja właściwości; w przeciwnym razie false.

Implementacje

ISfcPropertySet.Contains(String)