DataBus Class
Represents the DataBus class.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Data.DataBus
Namespace: Microsoft.SqlServer.Management.Data
Assembly: Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)
Syntax
'Declaration
Public Class DataBus _
Implements IDataBus, ISfcPropertySet, ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, _
INotifyPropertyChanged, ICollection, IEnumerable, IDisposable, ICustomTypeDescriptor
'Usage
Dim instance As DataBus
public class DataBus : IDataBus, ISfcPropertySet,
ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, ICollection, IEnumerable,
IDisposable, ICustomTypeDescriptor
public ref class DataBus : IDataBus,
ISfcPropertySet, ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, ICollection,
IEnumerable, IDisposable, ICustomTypeDescriptor
type DataBus =
class
interface IDataBus
interface ISfcPropertySet
interface ISfcPropertyProvider
interface ISfcNotifyPropertyMetadataChanged
interface INotifyPropertyChanged
interface ICollection
interface IEnumerable
interface IDisposable
interface ICustomTypeDescriptor
end
public class DataBus implements IDataBus, ISfcPropertySet, ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, ICollection, IEnumerable, IDisposable, ICustomTypeDescriptor
The DataBus type exposes the following members.
Properties
Name | Description | |
---|---|---|
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 | 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. |
Top
Methods
Name | Description | |
---|---|---|
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(ISfcProperty, ISfcPropertyProvider) | Adds property metadata, a value, and a property provider. This class cannot be inherited. | |
Add<T>(String, T) | Adds a property with specified name and type. This class cannot be inherited. | |
Add<T>(String, T, Boolean) | Adds a property with specified name and type. This class cannot be inherited. | |
Contains(String) | Checks if the property with specified name exists. This class cannot be inherited. | |
Contains(ISfcProperty) | Checks if the property with specified metadata and value exists. This class cannot be inherited. | |
Contains<T>(String) | Checks if the property with specified name exists. | |
CopyTo | 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. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
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 | 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(array<Attribute[]) | Returns a filtered collection of event descriptors for the DataBus control. | |
GetHashCode | (Inherited from Object.) | |
GetProperties() | Returns a collection of property descriptors for the DataBus control. | |
GetProperties(array<Attribute[]) | Returns the properties for the DataBus control using the attribute array as a filter. | |
GetPropertyOwner | Returns an object that contains the property described by the specified property descriptor. | |
GetPropertySet | Retrieves the set of properties of the data bus. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove(String) | Removes the specified name of the property 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. | |
ToString | (Inherited from Object.) | |
TryGetProperty | 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. |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when the property value of the DataBus control changes. | |
PropertyMetadataChanged | Occurs when the metadata property value of the DataBus control changes. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.