Retrieves the underlying provider connection object as exposed by the connection support object.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Protected ReadOnly Property ProviderObject As Object
'使用
Dim value As Object
value = Me.ProviderObject
protected Object ProviderObject { get; }
protected:
property Object^ ProviderObject {
Object^ get ();
}
protected function get ProviderObject () : Object
Property Value
Type: System.Object
Returns the underlying provider connection object as exposed by the connection support object.
Remarks
This value will be a null reference (Nothing in Visual Basic) if the instance was instantiated without a data connection or if there is no underlying provider object.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.