IVsDataConnectionUITester.Test Method
Tests the connection based on the properties specified in the connection dialog box.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Sub Test ( _
connectionUIProperties As IVsDataConnectionUIProperties _
)
void Test(
IVsDataConnectionUIProperties connectionUIProperties
)
void Test(
IVsDataConnectionUIProperties^ connectionUIProperties
)
abstract Test :
connectionUIProperties:IVsDataConnectionUIProperties -> unit
function Test(
connectionUIProperties : IVsDataConnectionUIProperties
)
Parameters
connectionUIProperties
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataConnectionUIPropertiesContains the connection properties specified in the data connection dialog box.
Remarks
This method attempts to create a IVsDataConnection connection object through the IVsDataConnectionFactory service by supplying the UI connection properties. Next, it gets the IVsDataConnectionSupport service through the connection object it just created.
.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.
See Also
Reference
IVsDataConnectionUITester Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace