Méthode SqlSmoObject.GetContextDB
Gets the context database that is associated with this object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Protected Friend Function GetContextDB As Database
'Utilisation
Dim returnValue As Database
returnValue = Me.GetContextDB()
protected internal Database GetContextDB()
protected public:
Database^ GetContextDB()
member GetContextDB : unit -> Database
function GetContextDB() : Database
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.Database
A Database object that is associated with this object.