SqlSmoObject.GetContextDB SqlSmoObject.GetContextDB SqlSmoObject.GetContextDB Method

Definition

Gets the context database that is associated with this object.

protected public:
 Microsoft::SqlServer::Management::Smo::Database ^ GetContextDB();
protected internal Microsoft.SqlServer.Management.Smo.Database GetContextDB ();
Protected Friend Function GetContextDB () As Database
Returns

A Database object that is associated with this object.

Applies to