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: TThe data provider associated with the client object.
connection
Type: Microsoft.VisualStudio.Data.Services.IVsDataConnectionThe data connection associated with the client object.
Return Value
Type: T
An instance of the client object of the specified 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.