Share via


SqlScriptEditorControl.CurrentDB Property

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

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

Syntax

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

value = Me.CurrentDB 

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

Property Value

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

See Also

Reference

SqlScriptEditorControl Class

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