PropertyCollection.ISfcPropertySet.Contains Método (String)
Determines whether the property collection contains the property specified by the propertyName parameter.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- propertyName
Tipo: System.String
A string value that specifies the name of the property.
Valor devuelto
Tipo: System.Boolean
A Boolean value, True if the collection contains the property, otherwise False.
Implementa
ISfcPropertySet.Contains(String)