SqlSmoObject.GetContextDB 方法
Gets the context database that is associated with this object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Protected Friend Function GetContextDB As Database
'用途
Dim returnValue As Database
returnValue = Me.GetContextDB()
protected internal Database GetContextDB()
protected public:
Database^ GetContextDB()
member GetContextDB : unit -> Database
function GetContextDB() : Database
傳回值
型別:Microsoft.SqlServer.Management.Smo.Database
A Database object that is associated with this object.