Freigeben über


DacStore.Export Method (, , <TableName>)

Exports a DAC object with specified database name, stream, and tables.

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

Syntax

'Declaration
Public Sub Export ( _
    databaseName As String, _
    stream As Stream, _
    tables As IEnumerable(Of TableName) _
)
'Usage
Dim instance As DacStore
Dim databaseName As String
Dim stream As Stream
Dim tables As IEnumerable(Of TableName)

instance.Export(databaseName, stream, _
    tables)
public void Export(
    string databaseName,
    Stream stream,
    IEnumerable<TableName> tables
)
public:
void Export(
    String^ databaseName, 
    Stream^ stream, 
    IEnumerable<TableName^>^ tables
)
member Export : 
        databaseName:string * 
        stream:Stream * 
        tables:IEnumerable<TableName> -> unit 
public function Export(
    databaseName : String, 
    stream : Stream, 
    tables : IEnumerable<TableName>
)

Parameters

  • databaseName
    Type: String
    The database name.
  • stream
    Type: Stream
    The stream.
  • tables
    Type: IEnumerable<TableName>
    The collection of table.

See Also

Reference

DacStore Class

Export Overload

Microsoft.SqlServer.Management.Dac Namespace