共用方式為


GetDBName 方法

Gets the database name that is associated with the object.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Protected Friend Overrides Function GetDBName As String
'用途
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

傳回值

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