Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DacServices.GenerateDriftReport Method (String, DacSchemaModelStorageType, Nullable<CancellationToken>)

Creates an XML report of the drift that has occurred since the database was last registered.

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

public string GenerateDriftReport(
	string targetDatabaseName,
	DacSchemaModelStorageType modelStorageType,
	Nullable<CancellationToken> cancellationToken


Type: String
The name of the target database for deployment.
Type: Microsoft.SqlServer.Dac.DacSchemaModelStorageType
The type of backing storage for a schema model.
Type: Nullable<CancellationToken>
The optional CancellationToken that can be used to indicate that the operation should be cancelled. Use of this object does not guarantee that the operation will be cancelled.

Return Value

Type: String
A string of XML that details the database drift or null if the database has not been registered.

Community Additions

© 2015 Microsoft