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


Метод ISfcPropertySet.Contains (ISfcProperty)

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

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

Синтаксис

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

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

Параметры

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

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

Реализует

ISfcPropertySet. . :: . .Contains(ISfcProperty)