Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

DacPackage.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 DacPackage Load(
	Stream stream
)

Parameters

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

Return Value

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

ExceptionCondition
DacServicesException

If there is a problem reading the package; or if the package contains exported data.

Community Additions

Show:
© 2015 Microsoft