Export (0) Print
Expand All

BacPackage.Load Method (Stream)

Load a package from the specified Stream.

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

public static BacPackage Load(
	Stream stream
)

Parameters

stream
Type: Stream
Stream from which to read the package.

Return Value

Type: Microsoft.SqlServer.Dac.BacPackage
DacPackage instance that represents the package loaded from the specified file.

ExceptionCondition
DacServicesException

If there is a problem reading the package; or if the package does not contain exported data.

Community Additions

ADD
Show:
© 2014 Microsoft