Share via


DataConnectionProperties.GetKeyAsString(String) Method

Definition

Formats a property key for placement in a connection string.

protected:
 virtual System::String ^ GetKeyAsString(System::String ^ key);
protected virtual string GetKeyAsString (string key);
abstract member GetKeyAsString : string -> string
override this.GetKeyAsString : string -> string
Protected Overridable Function GetKeyAsString (key As String) As String

Parameters

key
String

The key value to format.

Returns

The value of the specified property key in a string format suitable for placement in a connection string.

Exceptions

The key parameter is null.

Applies to