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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.