Метод 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.