SqlConnection.RetrieveInternalInfo Method

Definition

Returns a name value pair collection of internal properties at the point in time the method is called.

public:
 System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ RetrieveInternalInfo();
public System.Collections.Generic.IDictionary<string,object> RetrieveInternalInfo ();
member this.RetrieveInternalInfo : unit -> System.Collections.Generic.IDictionary<string, obj>
Public Function RetrieveInternalInfo () As IDictionary(Of String, Object)

Returns

Returns a reference of type IDictionary<TKey,TValue> of (string, object) items.

Remarks

When this method is called, the values retrieved are those at the current point in time. If you continue using the connection, the values are incorrect. You need to re-execute the method to obtain the most current values.

Supported internal properties Type Information provided Return value
SQLDNSCachingSupportedState string To indicate the IsSupported flag sent by the server for DNS Caching "true", "false", "innerConnection is null!"
SQLDNSCachingSupportedStateBeforeRedirect string To indicate the IsSupported flag sent by the server for DNS Caching before redirection. "true", "false", "innerConnection is null!"

Applies to