Поделиться через


Метод ISfcPropertySet.Contains (String)

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Private Function Contains ( _
    propertyName As String _
) As Boolean Implements ISfcPropertySet.Contains
'Применение
Dim instance As PropertyCollection
Dim propertyName As String
Dim returnValue As Boolean

returnValue = CType(instance, ISfcPropertySet).Contains(propertyName)
bool ISfcPropertySet.Contains(
    string propertyName
)
private:
virtual bool Contains(
    String^ propertyName
) sealed = ISfcPropertySet::Contains
private abstract Contains : 
        propertyName:string -> bool 
private override Contains : 
        propertyName:string -> bool 
JScript поддерживает использование явных реализаций интерфейса, но не объявление новых.

Параметры

Возвращаемое значение

Тип: System. . :: . .Boolean
A Boolean value, True if the collection contains the property, otherwise False.

Реализует

ISfcPropertySet. . :: . .Contains(String)