DacStore.Export Method (String, Stream)
Exports a DAC object with specified database name and stream.
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 _
)
'Usage
Dim instance As DacStore
Dim databaseName As String
Dim stream As Stream
instance.Export(databaseName, stream)
public void Export(
string databaseName,
Stream stream
)
public:
void Export(
String^ databaseName,
Stream^ stream
)
member Export :
databaseName:string *
stream:Stream -> unit
public function Export(
databaseName : String,
stream : Stream
)
Parameters
- databaseName
Type: System.String
The database name.
- stream
Type: System.IO.Stream
The stream.