Condividi tramite


IVsDataConnection.GetLockedProviderObject Method

Definition

Overloads

GetLockedProviderObject()

Retrieves the underlying locked data provider that supports the current data connection.

GetLockedProviderObject(Int32)

Retrieves the underlying data provider after locking the current data connection.

GetLockedProviderObject()

Retrieves the underlying locked data provider that supports the current data connection.

public:
 System::Object ^ GetLockedProviderObject();
public object GetLockedProviderObject ();
abstract member GetLockedProviderObject : unit -> obj
Public Function GetLockedProviderObject () As Object

Returns

The underlying locked data provider object for the current data connection.

Applies to

GetLockedProviderObject(Int32)

Retrieves the underlying data provider after locking the current data connection.

public:
 System::Object ^ GetLockedProviderObject(int lockTimeout);
public object GetLockedProviderObject (int lockTimeout);
abstract member GetLockedProviderObject : int -> obj
Public Function GetLockedProviderObject (lockTimeout As Integer) As Object

Parameters

lockTimeout
Int32

The amount of time, in seconds, to wait for the data connection to lock before returning.

Returns

The underlying data provider object for the current data connection, or null if the data connection could not be locked within the specified time-out period.

Applies to