SqlCmdVariablesService.GetVariablesFromSqlCmdFile Method
Returns the variables that are contained in the current SQLCMD variable file.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Sql.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package.Sql (in Microsoft.VisualStudio.Data.Schema.Package.Sql.dll)
Syntax
'Declaration
Public Sub GetVariablesFromSqlCmdFile ( _
<OutAttribute> ByRef variables As Dictionary(Of String, String) _
)
public void GetVariablesFromSqlCmdFile(
out Dictionary<string, string> variables
)
public:
void GetVariablesFromSqlCmdFile(
[OutAttribute] Dictionary<String^, String^>^% variables
)
member GetVariablesFromSqlCmdFile :
variables:Dictionary<string, string> byref -> unit
public function GetVariablesFromSqlCmdFile(
variables : Dictionary<String, String>
)
Parameters
- variables
Type: System.Collections.Generic.Dictionary<String, String>%
Returns a list of variables from the current sqlcmdvars file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Sql.Project Namespace