Share via


DataBus Class

Definition

Represents the DataBus class.

public ref class DataBus : IDisposable, Microsoft::SqlServer::Management::Data::IDataBus, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcPropertyProvider, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcPropertySet, System::Collections::ICollection, System::ComponentModel::ICustomTypeDescriptor, System::ComponentModel::INotifyPropertyChanged
public class DataBus : IDisposable, Microsoft.SqlServer.Management.Data.IDataBus, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertySet, System.Collections.ICollection, System.ComponentModel.ICustomTypeDescriptor, System.ComponentModel.INotifyPropertyChanged
type DataBus = class
    interface IDataBus
    interface ISfcPropertySet
    interface ISfcPropertyProvider
    interface ISfcNotifyPropertyMetadataChanged
    interface INotifyPropertyChanged
    interface ICollection
    interface IEnumerable
    interface IDisposable
    interface ICustomTypeDescriptor
Public Class DataBus
Implements ICollection, ICustomTypeDescriptor, IDataBus, IDisposable, INotifyPropertyChanged, ISfcPropertyProvider, ISfcPropertySet
Inheritance
DataBus
Implements

Constructors

DataBus()

Initializes a new instance of the DataBus class.

Properties

Count

Gets the number of data in a data bus.

IsSynchronized

Gets a value indicating whether the data in a DataBus control is synchronized.

Item[String]

Gets or sets the property value in the DataBus control.

SyncRoot

Gets an object that can be used to synchronize data to the DataBus control.

Methods

Add(ISfcProperty, ISfcPropertyProvider)

Adds property metadata, a value, and a property provider. This class cannot be inherited.

Add(ISfcProperty)

Adds a property with specified metadata and value to the collection. This class cannot be inherited.

Add(ISfcPropertyProvider)

Adds all properties from the provider. This class cannot be inherited.

Add(String, ISfcPropertyProvider)

Adds a property with specified name and property provider. This class cannot be inherited.

Add<T>(String, T, Boolean)

Adds a property with specified name and type. This class cannot be inherited.

Add<T>(String, T)

Adds a property with specified name and type. This class cannot be inherited.

Contains(ISfcProperty)

Checks if the property with specified metadata and value exists. This class cannot be inherited.

Contains(String)

Checks if the property with specified name exists. This class cannot be inherited.

Contains<T>(String)

Indicates whether the property with the specified name exists.

CopyTo(Array, Int32)

Copies the items of a DataBus control to a one-dimensional array, starting at the given array index.

Dispose()

Releases all the resources used by the DataBus class.

Dispose(Boolean)

Releases the unmanaged resources used by the DataBus and optionally releases the managed resources.

EnumProperties()

Specifies all the properties.

GetAttributes()

Indicates the collection of attributes from data in the DataBus control.

GetClassName()

Returns the name of the class for the DataBus control.

GetComponentName()

Returns the name of the component for the DataBus control.

GetConverter()

Returns a type converter for the DataBus control.

GetDefaultEvent()

Returns the default event for the DataBus control.

GetDefaultProperty()

Returns the default property for the DataBus control.

GetEditor(Type)

Gets the type of an editor for the DataBus control.

GetEnumerator()

Returns an IEnumerator interface for the DataBus control.

GetEvents()

Returns the events for the DataBus control.

GetEvents(Attribute[])

Returns a filtered collection of event descriptors for the DataBus control.

GetProperties()

Returns a collection of property descriptors for the DataBus control.

GetProperties(Attribute[])

Returns the properties for the DataBus control using the attribute array as a filter.

GetPropertyOwner(PropertyDescriptor)

Returns an object that contains the property described by the specified property descriptor.

GetPropertySet()

Retrieves the set of properties of the data bus.

Remove(ISfcProperty)

Removes a property with specified metadata and value from the collection.

Remove(ISfcPropertyProvider)

Removes the specified provider for all properties.

Remove(String, ISfcPropertyProvider)

Removes the specified provider for the property from the Data Bus control.

Remove(String)

Removes the specified name of the property of the data bus.

TryGetProperty(String, ISfcProperty)

Gets the property that is associated with the specified key.

TryGetPropertyValue(String, Object)

Attempts to get the property value with a specified name and value.

TryGetPropertyValue<T>(String, T)

Attempts to get the property value with a specified name and type.

Events

PropertyChanged

Occurs when the property value of the DataBus control changes.

PropertyMetadataChanged

Occurs when the metadata property value of the DataBus control changes.

Applies to