Set the output filename. The generated script will be written to this file

Namespace: NHibernate.Tool.hbm2ddl
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public SchemaExport SetOutputFile(
	string filename
)
Visual Basic
Public Function SetOutputFile ( _
	filename As String _
) As SchemaExport
Visual C++
public:
SchemaExport^ SetOutputFile(
	String^ filename
)

Parameters

filename
Type: System..::..String
The name of the file to output the ddl to.

Return Value

The SchemaExport object.

See Also