共用方式為


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 命名空間