Share via


DataConnectionProperties.InitializeValue Method

Initializes the value of a specified connection property.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Sub InitializeValue ( _
    key As String, _
    value As Object _
)
protected void InitializeValue(
    string key,
    Object value
)
protected:
void InitializeValue(
    String^ key, 
    Object^ value
)
member InitializeValue : 
        key:string * 
        value:Object -> unit
protected function InitializeValue(
    key : String, 
    value : Object
)

Parameters

  • key
    Type: System.String

    The name of a property being initialized.

  • value
    Type: System.Object

    The value to which the property is initialized.

Exceptions

Exception Condition
ArgumentNullException

The key parameter is nulla null reference (Nothing in Visual Basic).

Remarks

This method is normally called only by the InitializeValues method.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace