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
'Declaración
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
- serviceProvider
Type: System.IServiceProvider
The service provider.
- providerObj
Type: T
The underlying provider object.
Return Value
Type: T
The data client object of the specified generic type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.