Visual Basic (Usage) | Copy Code |
---|---|
Dim value As T value = DataAccessServices.GetDataAccessService(Of 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.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7