DisplayServices.GetDisplayName(ObjectIdentifier, EscapeStyle, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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