Compartir a través de


AdoDotNetConnectionProperties.Contains Method

Tests whether a specified property is a member of the current set of connection properties.

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaración
Public Overrides Function Contains ( _
    propertyName As String _
) As Boolean
public override bool Contains(
    string propertyName
)
public:
virtual bool Contains(
    String^ propertyName
) override
abstract Contains : 
        propertyName:string -> bool 
override Contains : 
        propertyName:string -> bool 
public override function Contains(
    propertyName : String
) : boolean

Parameters

  • propertyName
    Type: System.String
    Name of the property whose presence is being tested.

Return Value

Type: System.Boolean
Returns true if the specified property is a member of the connection properties collection; otherwise returns false.

Implements

IDataConnectionProperties.Contains(String)

Exceptions

Exception Condition
ArgumentNullException

The propertyName parameter is null.

Remarks

Overrides the Contains method.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace