Export (0) Print
Expand All
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 Friend Function GetContextDB As Database
Dim returnValue As Database 

returnValue = Me.GetContextDB()

Return Value

Type: Microsoft.SqlServer.Management.Smo.Database
A Database object that is associated with this object.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft