Share via


ExtensionMethods.GetDisplayName Method

Gets the display name of the specified IMetadataObject object.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Shared Function GetDisplayName ( _
    metadataObject As IMetadataObject _
) As String
'Usage
Dim metadataObject As IMetadataObject 
Dim returnValue As String 

returnValue = ExtensionMethods.GetDisplayName(metadataObject)
public static string GetDisplayName(
    IMetadataObject metadataObject
)
public:
static String^ GetDisplayName(
    IMetadataObject^ metadataObject
)
static member GetDisplayName : 
        metadataObject:IMetadataObject -> string
public static function GetDisplayName(
    metadataObject : IMetadataObject
) : String

Parameters

Return Value

Type: System.String
The display name of the IMetadataObject object.

See Also

Reference

ExtensionMethods Class

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace