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)