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
public Object GetLockedProviderObject()
public:
Object^ GetLockedProviderObject()
member GetLockedProviderObject : unit -> Object
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

GetLockedProviderObject Overload

Microsoft.VisualStudio.Data Namespace

UnlockProviderObject

ProviderObjectIsLocked

IDbConnection