Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the context database that is associated with this object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Friend Function GetContextDB As Database
'Usage
Dim returnValue As Database
returnValue = Me.GetContextDB()
protected internal Database GetContextDB()
protected public:
Database^ GetContextDB()
member GetContextDB : unit -> Database
function GetContextDB() : Database
Rückgabewert
Typ: Microsoft.SqlServer.Management.Smo.Database
A Database object that is associated with this object.