This documentation is archived and is not being maintained.

ScriptingOptions.FileName Property

Gets or sets the name of the file to which the generated script is output.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

public string FileName { get; set; }
/** @property */
public String get_FileName ()

/** @property */
public void set_FileName (String value)

public function get FileName () : String

public function set FileName (value : String)

Property Value

A String value that specifies the name of the file to which the generated script is output.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.


Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Show: