IDataBus.Add Method

Definition

Adds the specified property of the DataBus control.

Overloads

Add(ISfcProperty)

Adds a property with the specified metadata and value to the collection.

Add(ISfcPropertyProvider)

Adds all the properties from the provider.

Add(ISfcProperty, ISfcPropertyProvider)

Adds the property registration and property provider.

Add(String, ISfcPropertyProvider)

Adds a property with the specified name and property provider.

Add<T>(String, T)

Adds a property with the specified name and type.

Add<T>(String, T, Boolean)

Adds a property with the specified name and type and determines whether the property is read-only.

Add(ISfcProperty)

Adds a property with the specified metadata and value to the collection.

public:
 void Add(Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty ^ property);
public void Add (Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty property);
abstract member Add : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty -> unit
Public Sub Add (property As ISfcProperty)

Parameters

property
ISfcProperty

The interface that provides information about a property.

Applies to

Add(ISfcPropertyProvider)

Adds all the properties from the provider.

public:
 void Add(Microsoft::SqlServer::Management::Sdk::Sfc::ISfcPropertyProvider ^ propertyProvider);
public void Add (Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider propertyProvider);
abstract member Add : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider -> unit
Public Sub Add (propertyProvider As ISfcPropertyProvider)

Parameters

propertyProvider
ISfcPropertyProvider

The interface that provides an access to the properties.

Applies to

Add(ISfcProperty, ISfcPropertyProvider)

Adds the property registration and property provider.

public:
 void Add(Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty ^ propertyInfo, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcPropertyProvider ^ propertyProvider);
public void Add (Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty propertyInfo, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider propertyProvider);
abstract member Add : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty * Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider -> unit
Public Sub Add (propertyInfo As ISfcProperty, propertyProvider As ISfcPropertyProvider)

Parameters

propertyInfo
ISfcProperty

The interface that provides information about a property.

propertyProvider
ISfcPropertyProvider

The interface that provides an access to the properties.

Applies to

Add(String, ISfcPropertyProvider)

Adds a property with the specified name and property provider.

public:
 void Add(System::String ^ name, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcPropertyProvider ^ propertyProvider);
public void Add (string name, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider propertyProvider);
abstract member Add : string * Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider -> unit
Public Sub Add (name As String, propertyProvider As ISfcPropertyProvider)

Parameters

name
String

A String method that contains the name of the specified property.

propertyProvider
ISfcPropertyProvider

The interface that provides an access to the properties.

Applies to

Add<T>(String, T)

Adds a property with the specified name and type.

public:
generic <typename T>
 void Add(System::String ^ name, T value);
public void Add<T> (string name, T value);
abstract member Add : string * 'T -> unit
Public Sub Add(Of T) (name As String, value As T)

Type Parameters

T

The type of the object in value.

Parameters

name
String

The name of the specified property.

value
T

The value type of the property.

Applies to

Add<T>(String, T, Boolean)

Adds a property with the specified name and type and determines whether the property is read-only.

public:
generic <typename T>
 void Add(System::String ^ name, T value, bool isReadOnly);
public void Add<T> (string name, T value, bool isReadOnly);
abstract member Add : string * 'T * bool -> unit
Public Sub Add(Of T) (name As String, value As T, isReadOnly As Boolean)

Type Parameters

T

The generic Type of value.

Parameters

name
String

The name of the specified property.

value
T

The value type of the property.

isReadOnly
Boolean

true to the property that is read-only; otherwise, false.

Applies to