AgentObjectBase.GetDBName Method

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the database name that is associated with the object.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

protected internal override string GetDBName()

Return Value

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

Community Additions