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 ReadOnly Property TypeStream As Byte()
    Get
'Usage
Dim instance As DacInstance
Dim value As Byte()

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

Property Value

Type: 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.

See Also

Reference

DacInstance Class

Microsoft.SqlServer.Management.Dac Namespace