Dela via


ScriptOption.ScriptDataCompression Property

Gets an object value that specifies whether the creation of the referenced object is included in the generated script.

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

Syntax

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

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

Property Value

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

Examples

Scripting