Condividi tramite


Metodo AgentObjectBase.GetDBName

Gets the database name that is associated with the object.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Protected Friend Overrides Function GetDBName As String
'Utilizzo
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

Valore restituito

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

Esempi

Pianificazione delle attività amministrative automatiche in SQL Server Agent

Vedere anche

Riferimento

AgentObjectBase Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent

Altre risorse

Automatizzazione delle attività amministrative (SQL Server Agent)