DataConnectionClientService<T>.Create Method

Creates an instance of the specified type for the given provider and data connection.

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

Syntax

'宣言
Public Shared Function Create ( _
    providerObj As T, _
    connection As IVsDataConnection _
) As T
'使用
Dim providerObj As T
Dim connection As IVsDataConnection
Dim returnValue As T

returnValue = DataConnectionClientService.Create(providerObj, _
    connection)
public static T Create(
    T providerObj,
    IVsDataConnection connection
)
public:
static T Create(
    T providerObj, 
    IVsDataConnection^ connection
)
public static function Create(
    providerObj : T, 
    connection : IVsDataConnection
) : T

Parameters

  • providerObj
    Type: T

    The data provider associated with the client object.

Return Value

Type: T

An instance of the client object of the specified type.

Permissions

See Also

Reference

DataConnectionClientService<T> Class

DataConnectionClientService<T> Members

Microsoft.VisualStudio.Data.Framework Namespace