Share via


IDataBus Interface

Defines the size, enumerators, and synchronization methods for all non-generic collections in the DataBus control.

Namespace:  Microsoft.SqlServer.Management.Data
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

Syntax

'Declaration
Public Interface IDataBus _
    Inherits ISfcPropertySet, ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged,  _
    ICollection, IEnumerable, IDisposable
'Usage
Dim instance As IDataBus
public interface IDataBus : ISfcPropertySet, 
    ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, ICollection, IEnumerable, 
    IDisposable
public interface class IDataBus : ISfcPropertySet, 
    ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, ICollection, IEnumerable, 
    IDisposable
type IDataBus =  
    interface
        interface ISfcPropertySet
        interface ISfcPropertyProvider
        interface ISfcNotifyPropertyMetadataChanged
        interface INotifyPropertyChanged
        interface ICollection
        interface IEnumerable
        interface IDisposable
    end
public interface IDataBus extends ISfcPropertySet, ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, ICollection, IEnumerable, IDisposable

The IDataBus type exposes the following members.

Properties

  Name Description
Public property Count (Inherited from ICollection.)
Public property IsSynchronized (Inherited from ICollection.)
Public property Item Gets or set the property value for the DataBase control.
Public property SyncRoot (Inherited from ICollection.)

Top

Methods

  Name Description
Public method Add(ISfcProperty) Adds a property with the specified metadata and value to the collection.
Public method Add(ISfcPropertyProvider) Adds all the properties from the provider.
Public method Add(String, ISfcPropertyProvider) Adds a property with the specified name and property provider.
Public method Add(ISfcProperty, ISfcPropertyProvider) Adds the property registration and property provider.
Public method Add<T>(String, T) Adds a property with the specified name and type.
Public method Add<T>(String, T, Boolean) Adds a property with the specified name and type and determines whether the property is read-only.
Public method Contains(String) Checks whether a property with the specified name is in the property set. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from ISfcPropertySet.)
Public method Contains(ISfcProperty) Checks whether a property with the specified metadata is in the property set. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from ISfcPropertySet.)
Public method Contains<T>(String) Checks whether a property with the specified name and type is in the property set. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from ISfcPropertySet.)
Public method CopyTo (Inherited from ICollection.)
Public method Dispose (Inherited from IDisposable.)
Public method EnumProperties Returns an enumerator that can iterate through the properties in the property set. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from ISfcPropertySet.)
Public method GetEnumerator (Inherited from IEnumerable.)
Public method GetPropertySet Gets the interface reference to the set of properties of this object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from ISfcPropertyProvider.)
Public method Remove(String) Removes the property from a collection by name.
Public method Remove(ISfcProperty) Removes the property from the collection by metadata.
Public method Remove(ISfcPropertyProvider) Removes the specified provider for all properties.
Public method Remove(String, ISfcPropertyProvider) Removes the specified provider for the property from the DataBus control.
Public method TryGetProperty Attempts to get the property metadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from ISfcPropertySet.)
Public method TryGetPropertyValue(String, Object%) Attempts to get the property value. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from ISfcPropertySet.)
Public method TryGetPropertyValue<T>(String, T%) Attempts to get the property value. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from ISfcPropertySet.)

Top

Events

  Name Description
Public event PropertyChanged (Inherited from INotifyPropertyChanged.)
Public event PropertyMetadataChanged Occurs when the metadata for a property has changed. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from ISfcNotifyPropertyMetadataChanged.)

Top