DataConnectionProperties.GetValueAsString(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 value for placement in a connection string.
protected:
virtual System::String ^ GetValueAsString(System::String ^ propertyName);
protected virtual string GetValueAsString (string propertyName);
abstract member GetValueAsString : string -> string
override this.GetValueAsString : string -> string
Protected Overridable Function GetValueAsString (propertyName As String) As String
Parameters
- propertyName
- String
The name of a property to be formatted.
Returns
Returns the value of the specified property in a string format suitable for placement in a connection string.
Exceptions
The name
parameter is null.
The property does not exist.