Share via


DataClientObject<T>.Create Method

Creates a new data client object.

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

Syntax

'Declaration
Public Shared Function Create ( _
    serviceProvider As IServiceProvider, _
    providerObj As T _
) As T
public static T Create(
    IServiceProvider serviceProvider,
    T providerObj
)
public:
static T Create(
    IServiceProvider^ serviceProvider, 
    T providerObj
)
static member Create : 
        serviceProvider:IServiceProvider * 
        providerObj:'T -> 'T 
public static function Create(
    serviceProvider : IServiceProvider, 
    providerObj : T
) : T

Parameters

  • providerObj
    Type: T

    The underlying provider object.

Return Value

Type: T
The data client object of the specified generic type.

.NET Framework Security

See Also

Reference

DataClientObject<T> Class

Microsoft.VisualStudio.Data.Framework Namespace