T
The type of the data access object to be unregistered.
LEADTOOLS Medical (Leadtools.Medical.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
GetDataAccessService<T> Method
See Also 
Leadtools.Medical.DataAccessLayer Namespace > DataAccessServices Class : GetDataAccessService<T> Method



Retrieve a previously registered data access service of the specified type.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetDataAccessService(Of T)() As T
Visual Basic (Usage)Copy Code
Dim value As T
 
value = DataAccessServices.GetDataAccessService(Of T)()
C# 
public static T GetDataAccessService<T>()
C++/CLI 
public:
static T^ GetDataAccessServicegeneric<typename T>
(); 

Type Parameters

T
The type of the data access object to be unregistered.

Return Value

The data access object that was removed. Default T value will be returned if no object registered with this type.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features