Partager via


Méthode AgentObjectBase.GetDBName

Gets the database name that is associated with the object.

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

Syntaxe

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

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

Valeur de retour

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

Exemples

Planification des tâches administratives automatiques dans l'Agent SQL Server

Voir aussi

Référence

AgentObjectBase Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Agent

Autres ressources

Tâches d'administration automatisée (Agent SQL Server)