DataConnectionClientService<T>.Create(T, IVsDataConnection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.