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