次の方法で共有


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

'宣言
Sub Test ( _
    connectionUIProperties As IVsDataConnectionUIProperties _
)
void Test(
    IVsDataConnectionUIProperties connectionUIProperties
)
void Test(
    IVsDataConnectionUIProperties^ connectionUIProperties
)
abstract Test : 
        connectionUIProperties:IVsDataConnectionUIProperties -> unit 
function Test(
    connectionUIProperties : IVsDataConnectionUIProperties
)

Parameters

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

See Also

Reference

IVsDataConnectionUITester Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace