Share via


DisplayServices.GetDisplayName(ObjectIdentifier, EscapeStyle, Boolean) Method

Definition

Get display name of an identifier, with the option to configure use of full/short name and whether to escape name parts.

public abstract string GetDisplayName (Microsoft.SqlServer.Dac.Model.ObjectIdentifier identifier, Microsoft.SqlServer.Dac.Model.EscapeStyle escapeStyle, bool fullName);
abstract member GetDisplayName : Microsoft.SqlServer.Dac.Model.ObjectIdentifier * Microsoft.SqlServer.Dac.Model.EscapeStyle * bool -> string
Public MustOverride Function GetDisplayName (identifier As ObjectIdentifier, escapeStyle As EscapeStyle, fullName As Boolean) As String

Parameters

identifier
ObjectIdentifier

The name identifier that can contain multiple parts.

escapeStyle
EscapeStyle

EscapeStyle defining whether the parts of the name should be escaped or not

fullName
Boolean

Indicates if the name is constructed in full or only the significant last part is used.

Returns

Display name

Applies to