Compartir a través de


SqlSmoObject.GetContextDB Método

Gets the context database that is associated with this object.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Protected Friend Function GetContextDB As Database
'Uso
Dim returnValue As Database 

returnValue = Me.GetContextDB()
protected internal Database GetContextDB()
protected public:
Database^ GetContextDB()
member GetContextDB : unit -> Database
function GetContextDB() : Database

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Smo.Database
A Database object that is associated with this object.

Vea también

Referencia

SqlSmoObject Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo