Compartilhar via


Método ISfcPropertySet.Contains (ISfcProperty)

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

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

Sintaxe

'Declaração
Private Function Contains ( _
    property As ISfcProperty _
) As Boolean Implements ISfcPropertySet.Contains
'Uso
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Valor de retorno

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

Implementa

ISfcPropertySet. . :: . .Contains(ISfcProperty)