Share via


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

'Declaration
Public Shared Function Create ( _
    providerObj As T, _
    connection As IVsDataConnection _
) As T
public static T Create(
    T providerObj,
    IVsDataConnection connection
)
public:
static T Create(
    T providerObj, 
    IVsDataConnection^ connection
)
static member Create : 
        providerObj:'T * 
        connection:IVsDataConnection -> 'T 
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.

.NET Framework Security

See Also

Reference

DataConnectionClientService<T> Class

Microsoft.VisualStudio.Data.Framework Namespace