Compartilhar via


DataConnectionProperties.Test Method

Tests to assure that the current set of connection properties will successfully open a connection.

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

Syntax

'Declaration
Public Overridable Sub Test
public virtual void Test()
public:
virtual void Test()
abstract Test : unit -> unit  
override Test : unit -> unit
public function Test()

Implements

IDataConnectionProperties.Test()

Remarks

Any exception may be thrown by this method indicating that the test failed.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data Namespace