DataConnectionProperties.InitializeValue(String, Object) Method

Definition

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.

Applies to