Share via


DacInstance.TypeStream Property

Gets or sets the Byte stream that contains the DAC type definition.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property TypeStream As Byte()
    Get
    Private Set
'Usage
Dim instance As DacInstance
Dim value As Byte()

value = instance.TypeStream
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public byte[] TypeStream { get; private set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property array<unsigned char>^ TypeStream {
    array<unsigned char>^ get ();
    private: void set (array<unsigned char>^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member TypeStream : byte[] with get, private set
function get TypeStream () : byte[]
private function set TypeStream (value : byte[])

Property Value

Type: array<System.Byte[]
A Byte stream that contains the DAC type definition.

Remarks

When a DAC package is deployed to an instance of the Database Engine, the DAC type is extracted from the package and stored in the msdb system database. If the DAC instance is later upgraded, the new version of the DAC type is stored in msdb.