Share via


ScriptAndResultsEditorControl.CurrentDB Property

Gets or sets the logical database that is current for the script.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Protected MustOverride Property CurrentDB As String 
    Get 
    Set
'Usage
Dim value As String 

value = Me.CurrentDB 

Me.CurrentDB = value
protected abstract string CurrentDB { get; set; }
protected:
virtual property String^ CurrentDB {
    String^ get () abstract;
    void set (String^ value) abstract;
}
abstract CurrentDB : string with get, set
abstract function get CurrentDB () : String 
abstract function set CurrentDB (value : String)

Property Value

Type: System.String
A string value that specifies the database.

See Also

Reference

ScriptAndResultsEditorControl Class

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace