Share via


DacType.Version Property

Gets the version of the DAC type.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public ReadOnly Property Version As Version
    Get
'Usage
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

Property Value

Type: System.Version
A Version object that specifies the version string for the DAC type.

Remarks

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.