Freigeben über


DataConnectionProperties.GetNameAsString(String) Method

Definition

Formats a property name for placement in a connection string.

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

Parameters

propertyName
String

Name of the property for which the name is provided.

Returns

Returns the formatted name of the input property name for placement in a connection string.

Exceptions

The propertyName parameter is null.

Applies to