Share via


DataObjectIdentifierFormat Enumeration

Specifies how to format a data object identifier as a string when converting from a set of identifier parts.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration DataObjectIdentifierFormat
[FlagsAttribute]
public enum DataObjectIdentifierFormat
[FlagsAttribute]
public enum class DataObjectIdentifierFormat
[<FlagsAttribute>]
type DataObjectIdentifierFormat
public enum DataObjectIdentifierFormat

Members

Member name Description
None No specialized formatting is applied to the string.
WithQuotes Where necessary, the identifier is enclosed in quotation marks using the correct date-source-specific quoting mechanism. Specifying this option should always cause a valid identifier that can be parsed by the data source to be created.
ForDisplay Format the identifier as a string to be used for display purposes rather than for passing to the data source. For example, this might format the identifier of the table 'authors' owned by Fred as 'authors (Fred)'.

Remarks

While there are many ways that a user can require a data object identifier to be formatted, this enumeration identifies those that DDEX currently recognizes as most useful.

See Also

Reference

Microsoft.VisualStudio.Data Namespace

DataObjectIdentifierConverter