Share via


DacServices.GenerateCreateScript Method

Include Protected Members
Include Inherited Members

Generates an object used to recreate the schema of a database object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member GenerateCreateScript(DacPackage, String, DacDeployOptions) Creates a Transact-SQL script that can be used to deploy the schema of the supplied DacPackage to a database.
Public methodStatic member GenerateCreateScript(Stream, DacPackage, String, DacDeployOptions) Creates a Transact-SQL script that can be used to deploy the schema of the supplied DacPackage to a database.

Top

See Also

Reference

DacServices Class

Microsoft.SqlServer.Dac Namespace