SqlSmoObject.GetContextDB Method ()
Applies To: SQL Server 2016 Preview
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
protected internal Database GetContextDB()
public protected:
Database^ GetContextDB()
member GetContextDB : unit -> Database
Protected Friend Function GetContextDB As Database
Return Value
Type: Microsoft.SqlServer.Management.Smo.Database
A Database object that is associated with this object.
See Also
SqlSmoObject Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top