Partager via


DataSourceInformation.AddProperty Method

Definition

Overloads

AddProperty(String)

Adds a property to the list of supported properties.

AddProperty(String, Object)

Adds a property and its value to the list of supported properties.

AddProperty(String)

Adds a property to the list of supported properties.

protected:
 void AddProperty(System::String ^ propertyName);
protected void AddProperty (string propertyName);
member this.AddProperty : string -> unit
Protected Sub AddProperty (propertyName As String)

Parameters

propertyName
String

The name of a data source information property.

Exceptions

The propertyName parameter is null.

Applies to

AddProperty(String, Object)

Adds a property and its value to the list of supported properties.

protected:
 void AddProperty(System::String ^ propertyName, System::Object ^ value);
protected void AddProperty (string propertyName, object value);
member this.AddProperty : string * obj -> unit
Protected Sub AddProperty (propertyName As String, value As Object)

Parameters

propertyName
String

The name of a data source information property.

value
Object

The value for the property.

Exceptions

The propertyName parameter is null.

Applies to