Freigeben über


DataConnectionClientService<T>.Create(T, IVsDataConnection) Method

Definition

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

public:
 static T Create(T providerObj, Microsoft::VisualStudio::Data::Services::IVsDataConnection ^ connection);
public static T Create (T providerObj, Microsoft.VisualStudio.Data.Services.IVsDataConnection connection);
static member Create : 'T * Microsoft.VisualStudio.Data.Services.IVsDataConnection -> 'T
Public Shared Function Create (providerObj As T, connection As IVsDataConnection) As T

Parameters

providerObj
T

The data provider associated with the client object.

connection
IVsDataConnection

The data connection associated with the client object.

Returns

T

An instance of the client object of the specified type.

Applies to