Delen via


PropertyCollection.ISfcPropertySet.Contains Method (ISfcProperty)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Private Function Contains ( _
    property As ISfcProperty _
) As Boolean Implements ISfcPropertySet.Contains
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Boolean
A Boolean value, True if the collection contains the property, otherwise False.

Implements

ISfcPropertySet.Contains(ISfcProperty)