Méthode GetDBName

Obtient le nom de la base de données associée à l'objet.

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
Valeur String qui spécifie le nom de l'objet.