共用方式為


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

  • stream
    Type: Stream
    A Stream object in which the deserialized elements are saved.

See Also

Reference

DacType Class

Microsoft.SqlServer.Management.Dac Namespace