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
'宣告
Public Shared Sub Save ( _
dacType As DacType, _
stream As Stream _
)
'用途
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: Stream
A Stream object in which the deserialized elements are saved.