MetadataDisplayInfoProvider.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 Function GetDisplayName ( _
metadataObject As IMetadataObject _
) As String
'Usage
Dim instance As MetadataDisplayInfoProvider
Dim metadataObject As IMetadataObject
Dim returnValue As String
returnValue = instance.GetDisplayName(metadataObject)
public string GetDisplayName(
IMetadataObject metadataObject
)
public:
virtual String^ GetDisplayName(
IMetadataObject^ metadataObject
) sealed
abstract GetDisplayName :
metadataObject:IMetadataObject -> string
override GetDisplayName :
metadataObject:IMetadataObject -> string
public final function GetDisplayName(
metadataObject : IMetadataObject
) : String
Parameters
- metadataObject
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject
The metadata object to get the display name for.
Return Value
Type: System.String
The display name of the metadata object.
Implements
IMetadataDisplayInfoProvider.GetDisplayName(IMetadataObject)
See Also
Reference
MetadataDisplayInfoProvider Class
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace