Metodo SqlSmoObject.GetContextDB
Gets the context database that is associated with this object.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Protected Friend Function GetContextDB As Database
'Utilizzo
Dim returnValue As Database
returnValue = Me.GetContextDB()
protected internal Database GetContextDB()
protected public:
Database^ GetContextDB()
member GetContextDB : unit -> Database
function GetContextDB() : Database
Valore restituito
Tipo: Microsoft.SqlServer.Management.Smo.Database
A Database object that is associated with this object.