We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Microsoft.VisualStudio.Data Namespace

The Microsoft.VisualStudio.Data namespace contains the DDEX services that are used by the Microsoft.VisualStudio.Data.Core namespace.

Public classBasicPropertyAttributeProvides a means for indicating whether or not a given connection property is among those most commonly used.
Public classDataAsyncCommandEnables executing data commands in an asynchronous manner.
Public classDataAsyncCommandEventsRepresents a set of delegates that are called by methods on the DataAsyncCommand class to notify clients of command progress.
Public classDataCommandProvides the ability to build and execute data commands of various types against data sources, and to retrieve read-only results or a command status code.
Public classDataCommandTypeRepresents a set of predefined data command types.
Public classDataConnectionSupports a connection to a data source.
Public classDataConnectionDialogProvides access to the Data Connection dialog box with which to obtain data connection information from users.
Public classDataConnectionDialogFactoryProvides the ability to create an instance of the DataConnectionDialog class.
Public classDataConnectionFactoryProvides the ability to create stand-alone instances of the DataConnection class.
Public classDataConnectionManagerRepresents a shared set of data connection objects that are created on demand and managed by Visual Studio.
Public classDataConnectionMessageReceivedEventArgsProvides event data for the MessageReceived event.
Public classDataConnectionOpenCanceledExceptionProvides the exception that is thrown when a method call to open a data connection causes user intervention and the user is able to cancel the open call.
Public classDataConnectionPromptDialogRepresents a dialog box that can prompt the user for information when a data connection is being opened.
Public classDataConnectionPropertiesProvides support for the parsing and formatting of connection strings containing these properties, as well as for strongly typed property storage, custom attributes, and synonyms.
Public classDataConnectionPropertyChangedEventArgsProvides event data for the PropertyChanged event.
Public classDataConnectionStateChangedEventArgsProvides event data for the StateChanged event on a data connection.
Public classDataConnectionSupportProvides properties and methods that enable you to work directly with connections to a data source.
Public classDataConnectionUIControlEnables a custom user interface (UI) control for editing connection properties on the Data Connection dialog box.
Public classDataExplorerConnectionRepresents a connection that exists in the Visual Studio Server Explorer or Data Explorer window.
Public classDataExplorerConnectionManagerProvides methods and properties that enable programmatic interaction with data connections exposed in the Server Explorer.
Public classDataObjectChangedEventArgsEncapsulates event data for the ObjectAdded, ObjectChanged, and ObjectRemoved events.
Public classDataObjectChangeEventsProvides a set of events which a DDEX provider can raise when changes to data objects are made, and provides the means by which a provider can connect to them.
Public classDataObjectConceptMapperEnables providing a customized mapper of data-source-specific metadata into well known concepts for use by a generic designer.
Public classDataObjectEnumeratorProvides the ability to enumerate data objects.
Public classDataObjectIdentifierConverterProvides the ability to convert data-source-specific object identifiers from strings to identifier parts, and from identifier parts to strings.
Public classDataObjectIdentifierResolverProvides the ability to expand and contract an identifier for a specified data object.
Public classDataObjectItemComparerAllows you to compare two data object identifier parts or properties.
Public classDataObjectRestrictionMapperProvides a way to customize mappings from generic restrictions to data-source-specific restrictions.
Public classDataObjectSupportAllows you to retrieve an XML stream that describes a set of data object types on a data source, which can then interpret and manipulate programmatically.
Public classDataParameterRepresents a data parameter that is derived from a data source command, or that is passed with a command to a data source.
Public classDataProtectionRepresents the ability to encrypt and decrypt strings using the Windows Data Protection API (DPAPI).
Public classDataProviderEnables creation of DDEX provider objects.
Public classDataProviderExceptionRepresents an exception thrown when a DDEX provider error occurs.
Public classDataProviderManagerRepresents the set of registered DDEX providers.
Public classDataProviderObjectFactoryAllows you to create data objects implemented by a DDEX provider.
Public classDataReaderProvides the ability to expose data from any data.
Public classDataSourceRepresents and provides access to a DDEX data source.
Public classDataSourceInformationAllows you to retrieve well-defined information about a specified data source in the form of properties passed as name/value pairs.
Public classDataSourceManagerRepresents the set of registered DDEX data sources.
Public classDataSourceSpecializerRepresents an ability to specialize the behavior of a DDEX provider based on the data source to which it is connected.
Public classDataSourceVersionComparerProvides the means to compare two data-source-specific version strings.
Public classDataSupportRepresents the base class for all classes that provide data support XML.
Public classDataTransactionEnables transaction-processing, which allows you to commit or roll back as a batch a series of related operations.
Public classDataViewBrowseObjectProviderAllows you to retrieve a specialized browse object for a specified node in a given data view.
Public classDataViewCommandHandlerProvides the ability to implement commands, specifically custom commands, for nodes in a data view.
Public classDataViewHierarchyAccessorRepresents a set of properties and methods that interact with the data view hierarchy implementation of the IVsUIHierarchy interface.
Public classDataViewManagerRepresents the collection of data view hierarchies currently active in the Visual Studio Server Explorer and provides methods and properties with which to manage these data views.
Public classDataViewSupportEnables retrieving an XML stream that provides a description of one or more data views.
Public classDSRefBuilderAllows you to create a Data Source Reference (DSRef) object that identifies a data object.
Public classNameAttributeSpecifies the string literal name of a given connection property when specified in a connection string.
Public classObjectWithSiteProvides a simplified way to support communication between an object and its site in the container.
Public classOleCommandProvides a managed wrapper around the identifier of an OLE command.
Public classOleCommandStatusProvides the status of a specified OLE command.
Public classServiceProviderProvides an object that can proffer services using both the managed and unmanaged IServiceProvider interfaces.
Public classServiceProviderWithSiteProvides an object that proffers services using both the managed and unmanaged versions of the ServiceProvider interface, and can be sited using the IObjectWithSite interface.
Public classSynonymsAttributeProvides a comma-delimited list of connection property names that are synonymous with a primary connection property name.

Public delegateDataAsyncCommandCancelEventHandlerRepresents the method that is called when an asynchronous command is canceled.
Public delegateDataAsyncCommandEndEventHandlerRepresents the method that is called when an asynchronous command ends.
Public delegateDataAsyncCommandFailureEventHandlerRepresents the method that is called when an asynchronous command fails.
Public delegateDataAsyncCommandFetchEventHandlerRepresents the method that is called when an asynchronous command has results available for fetching.
Public delegateDataAsyncCommandStartEventHandlerRepresents the method that is called when an asynchronous command starts.
Public delegateDataConnectionDialogFilterCallbackRepresents the method that is called when a Data Connection dialog box callback occurs while adding DDEX providers and data sources.
Public delegateDataConnectionMessageReceivedEventHandlerRepresents the method that will handle the MessageReceived event of a data connection.
Public delegateDataConnectionPropertyChangedEventHandlerRepresents the method that handles the PropertyChanged event on the current DataConnectionProperties instance.
Public delegateDataConnectionStateChangedEventHandlerRepresents the method that handles the StateChanged event of a specified data connection.
Public delegateDataObjectChangedEventHandlerRepresents the method that handles the ObjectChanged event on the DataObjectChangeEvents class.

Public enumerationDataAsyncCommandRequestEnumeration specifying the manner in which an asynchronous command should continue after a call to the CommandNextResult or CommandRead methods.
Public enumerationDataConnectionStateSpecifies the state of a specified data connection.
Public enumerationDataItemTypeFormatSpecifies the format of a data item type returned by the GetItemType method.
Public enumerationDataObjectChangeTypeSpecifies the type of data object change that has occurred.
Public enumerationDataObjectIdentifierFormatSpecifies how to format a data object identifier as a string when converting from a set of identifier parts.
Public enumerationDataParameterDirectionSpecifies the direction of a data parameter for a specified data command.
Public enumerationOleCommandExecutionOptionProvides a managed implementation of the OLECMDEXECOPT enumeration, which specifies allowable options to the ExecuteCommand method.
Public enumerationOleCommandTextTypeProvides a managed implementation of the OLECMDTEXTF enumeration, which specifies the kind of text that is being requested.