Expand Minimize
This topic has not yet been rated - Rate this topic

SqlSmoObject.GetContextDB Method

SQL Server 2012

Gets the context database that is associated with this object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
member GetContextDB : unit -> Database

Return Value

Type: Microsoft.SqlServer.Management.Smo.Database
A Database object that is associated with this object.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.