Udostępnij przez


Metoda SfcPropertyCollection.Contains (String)

Określa, czy właściwość jest kolekcja właściwości.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 ( _
    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(
    string propertyName
)
public:
virtual bool Contains(
    String^ propertyName
) sealed
abstract Contains : 
        propertyName:string -> bool 
override Contains : 
        propertyName:string -> bool 
public final function Contains(
    propertyName : String
) : boolean

Parametry

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)