TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

SqlSmoObject.GetContextDB Method

Gets the context database that is associated with this object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

protected internal Database GetContextDB()

Return Value

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

Community Additions

ADD
Show:
© 2016 Microsoft