DacType.Save Method
Serializes the contents of a DacType object into an XML stream that is sent to the specified Stream object.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Public Shared Sub Save ( _
dacType As DacType, _
stream As Stream _
)
'Usage
Dim dacType As DacType
Dim stream As Stream
DacType.Save(dacType, stream)
public static void Save(
DacType dacType,
Stream stream
)
public:
static void Save(
DacType^ dacType,
Stream^ stream
)
static member Save :
dacType:DacType *
stream:Stream -> unit
public static function Save(
dacType : DacType,
stream : Stream
)
Parameters
- dacType
Type: Microsoft.SqlServer.Management.Dac.DacType
The DacType object representing the DAC type to be deserialized.
- stream
Type: System.IO.Stream
A Stream object in which the deserialized elements are saved.