DacInstance.Type Property

Gets the DacType object that represents the DAC type associated with this DAC instance.

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

Syntax

'Declaration
Public ReadOnly Property Type As DacType
    Get
'Usage
Dim instance As DacInstance
Dim value As DacType

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

Property Value

Type: Microsoft.SqlServer.Management.Dac.DacType
A DacType object that represents the DAC type associated with this DAC instance.

Remarks

A DAC type defines the data-tier objects and policies associated with an application. The DAC type is authored in a DAC project in Microsoft Visual Studio and built into a DAC package, or a DAC type is extracted from an existing database into a DAC package. Deploying the DAC package to an instance of the Database Engine creates a DAC instance based on the type stored in the package. The DAC instance can later be upgraded using another version of the same type.

See Also

Reference

DacInstance Class

Microsoft.SqlServer.Management.Dac Namespace