Share via


ScriptAndResultsEditorControl.SqlCmdVars Property

Gets or sets a dictionary containing all the variables and their values from sqlcmdvars file in Database projects in Visual Studio.

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

Syntax

'Declaration
Public Property SqlCmdVars As Dictionary(Of String, String)
    Get 
    Set
'Usage
Dim instance As ScriptAndResultsEditorControl 
Dim value As Dictionary(Of String, String)

value = instance.SqlCmdVars

instance.SqlCmdVars = value
public Dictionary<string, string> SqlCmdVars { get; set; }
public:
property Dictionary<String^, String^>^ SqlCmdVars {
    Dictionary<String^, String^>^ get ();
    void set (Dictionary<String^, String^>^ value);
}
member SqlCmdVars : Dictionary<string, string> with get, set
function get SqlCmdVars () : Dictionary<String, String>
function set SqlCmdVars (value : Dictionary<String, String>)

Property Value

Type: System.Collections.Generic.Dictionary<String, String>
A Dictionary object.

See Also

Reference

ScriptAndResultsEditorControl Class

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