共用方式為


Version 屬性

取得 DAC 類型的版本。

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

語法

'宣告
Public ReadOnly Property Version As Version
    Get
'用途
Dim instance As DacType
Dim value As Version

value = instance.Version
public Version Version { get; }
public:
property Version^ Version {
    Version^ get ();
}
member Version : Version
function get Version () : Version

屬性值

型別:System. . :: . .Version
Version 物件,指定 DAC 類型的版本字串。

備註

A DAC type is identified by the combination of the application name and version. The version is incremented each time a DAC project is built in Visual Studio, or set when a DAC type is extracted from an existing database.