Partilhar via


SqlScriptOptions Class

Definition

Designer-friendly class that defines the options that can be set for publishing SQL scripts using SqlScriptPublishModel

[Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.SqlScriptPublish.SqlScriptOptionsSR")]
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))]
public class SqlScriptOptions : Microsoft.SqlServer.Management.Sdk.Sfc.IDynamicReadOnly, Microsoft.SqlServer.Management.Sdk.Sfc.IDynamicVisible
[<Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.SqlScriptPublish.SqlScriptOptionsSR")>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))>]
type SqlScriptOptions = class
    interface IDynamicVisible
    interface IDynamicReadOnly
Public Class SqlScriptOptions
Implements IDynamicReadOnly, IDynamicVisible
Inheritance
SqlScriptOptions
Derived
Attributes
Implements

Constructors

SqlScriptOptions(Version)

Constructions a SqlScriptOptions object whose destination settings are for the given SQL Server version

Properties

AppendToFile
Bindings
Collation
ContinueScriptingOnError
ConvertUDDTToBaseType
Default
GenerateScriptForDependentObjects
IncludeDescriptiveHeaders
IncludeIfNotExists
IncludeScriptingParametersHeader
IncludeUnsupportedStatements
IncludeVarDecimal
SchemaQualify
ScriptAnsiPadding
ScriptChangeTracking
ScriptCheckConstraints
ScriptCompatibilityOption
ScriptCreateDrop
ScriptDataCompressionOptions
ScriptDriIncludeSystemNames
ScriptExtendedProperties
ScriptForeignKeys
ScriptFullTextIndexes
ScriptIndexes
ScriptLogins
ScriptObjectLevelPermissions
ScriptOwner
ScriptPrimaryKeys
ScriptStatistics
ScriptTriggers
ScriptUseDatabase
TargetDatabaseEngineEdition
TargetDatabaseEngineType
TypeOfDataToScript
UniqueKeys

Methods

ConfigureVisibleEnumFields(ITypeDescriptorContext, ArrayList)
Copy(SqlScriptOptions)

Copies current properties to another SqlScriptOptions instance

LoadShellScriptingOptions(IScriptingOptions, SqlSmoObject)
LoadShellScriptingOptions(IScriptPublishOptions, SqlSmoObject)

Events

ReadOnlyPropertyChanged

Explicit Interface Implementations

IDynamicReadOnly.OverrideReadOnly(IList<LocalizablePropertyDescriptor>, ITypeDescriptorContext, Object, Attribute[])

Applies to