Partilhar via


Método ISfcPropertySet.Contains (String)

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

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

Sintaxe

'Declaração
Private Function Contains ( _
    propertyName As String _
) As Boolean Implements ISfcPropertySet.Contains
'Uso
Dim instance As PropertyCollection
Dim propertyName As String
Dim returnValue As Boolean

returnValue = CType(instance, ISfcPropertySet).Contains(propertyName)
bool ISfcPropertySet.Contains(
    string propertyName
)
private:
virtual bool Contains(
    String^ propertyName
) sealed = ISfcPropertySet::Contains
private abstract Contains : 
        propertyName:string -> bool 
private override Contains : 
        propertyName:string -> bool 
JScript dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Parâmetros

Valor de retorno

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

Implementa

ISfcPropertySet. . :: . .Contains(String)