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)