ExtensionMethods.GetDatabaseQualifiedName(IMetadataObject) ExtensionMethods.GetDatabaseQualifiedName(IMetadataObject) ExtensionMethods.GetDatabaseQualifiedName(IMetadataObject) Method

Definition

Gets the database-qualified name of the specified IMetadataObject object.

public:
 static System::String ^ GetDatabaseQualifiedName(Microsoft::SqlServer::Management::SqlParser::Metadata::IMetadataObject ^ metadataObject);
public static string GetDatabaseQualifiedName (Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject metadataObject);
Public Shared Function GetDatabaseQualifiedName (metadataObject As IMetadataObject) As String
Parameters
metadataObject
IMetadataObject IMetadataObject IMetadataObject

The IMetadataObject object to get the database-qualified name for.

Returns

The database-qualified name of the IMetadataObject object; null if the metadata object does not belong to a database.

Applies to