Share via


DataConnection.GetLockedProviderObject Method

Retrieves the underlying data provider object, if any, which supports the current data connection.

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

Syntax

'Declaration
Public Function GetLockedProviderObject As Object
'Usage
Dim instance As DataConnection 
Dim returnValue As Object 

returnValue = instance.GetLockedProviderObject()
public Object GetLockedProviderObject()
public:
Object^ GetLockedProviderObject()
public function GetLockedProviderObject() : Object

Return Value

Type: System.Object
Returns a GetLockedProviderObject object instance, if any, which supports the current data connection.

.NET Framework Security

See Also

Reference

DataConnection Class

DataConnection Members

GetLockedProviderObject Overload

Microsoft.VisualStudio.Data Namespace

UnlockProviderObject

ProviderObjectIsLocked

IDbConnection