SqlCmdVariablesService.GetVariablesFromSqlCmdFile 方法

返回当前 SQLCMD 变量文件中所含的变量。

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.Sql.Project
程序集:  Microsoft.VisualStudio.Data.Schema.Package.Sql(在 Microsoft.VisualStudio.Data.Schema.Package.Sql.dll 中)

语法

声明
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>
)

参数

.NET Framework 安全性

请参见

参考

SqlCmdVariablesService 类

Microsoft.VisualStudio.Data.Schema.Package.Sql.Project 命名空间