Delen via


ScriptOption.ToFileOnly Property

Gets an object value that specifies whether to output to file only or to generate string output too.

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

Syntax

'Declaration
Public Shared ReadOnly Property ToFileOnly As ScriptOption
    Get
'Usage
Dim value As ScriptOption

value = ScriptOption.ToFileOnly
public static ScriptOption ToFileOnly { get; }
public:
static property ScriptOption^ ToFileOnly {
    ScriptOption^ get ();
}
static member ToFileOnly : ScriptOption
static function get ToFileOnly () : ScriptOption

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the ToFileOnlyd in the scripting options.

Examples

Scripting