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
一个版本对象,该对象表示 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.