Partager via


Méthode SqlSmoObject.GetDBName

Gets the database name that is associated with the object.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Protected Friend Overridable Function GetDBName As String
'Utilisation
Dim returnValue As String 

returnValue = Me.GetDBName()
protected internal virtual string GetDBName()
protected public:
virtual String^ GetDBName()
abstract GetDBName : unit -> string  
override GetDBName : unit -> string
function GetDBName() : String

Valeur de retour

Type : System.String
A String value that specifies the name of the object.

Exemples

Appel de méthodes

Voir aussi

Référence

SqlSmoObject Classe

Espace de noms Microsoft.SqlServer.Management.Smo