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.