DataConnectionProperties.GetNameAsString(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.