DataConnectionProperties.InitializeValue(String, Object) 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.
Initializes the value of a specified connection property.
protected:
void InitializeValue(System::String ^ propertyName, System::Object ^ value);
protected void InitializeValue (string propertyName, object value);
member this.InitializeValue : string * obj -> unit
Protected Sub InitializeValue (propertyName As String, value As Object)
Parameters
- propertyName
- String
The name of a property being initialized.
- value
- Object
The value to which the property is initialized.
Exceptions
The propertyName
parameter is null.
The specified value cannot be converted to the property type.