共用方式為


SqlDeploymentOptions.SqlCommandVariableValues 屬性

Get dictionary of SQL command variable values, keyed by variable name.

命名空間:  Microsoft.SqlServer.Dac.Deployment
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public ReadOnly Property SqlCommandVariableValues As IDictionary(Of String, String)
    Get
'用途
Dim instance As SqlDeploymentOptions 
Dim value As IDictionary(Of String, String)

value = instance.SqlCommandVariableValues
public IDictionary<string, string> SqlCommandVariableValues { get; }
public:
property IDictionary<String^, String^>^ SqlCommandVariableValues {
    IDictionary<String^, String^>^ get ();
}
member SqlCommandVariableValues : IDictionary<string, string>
function get SqlCommandVariableValues () : IDictionary<String, String>

屬性值

型別:System.Collections.Generic.IDictionary<String, String>
Dictionary of SQL command variable values, keyed by variable name.

備註

Valid values must be provided for every variable before deployment, or failures may occur during deployment.

請參閱

參考

SqlDeploymentOptions 類別

Microsoft.SqlServer.Dac.Deployment 命名空間