Condividi tramite


ScriptOption Class

Definition

A single scripting option. It represents a single value from the above enum.

public sealed class ScriptOption
type ScriptOption = class
Public NotInheritable Class ScriptOption
Inheritance
ScriptOption

Properties

AgentAlertJob
AgentJobId
AgentNotify
AllowSystemObjects
AnsiFile
AnsiPadding
AppendToFile
Bindings
ChangeTracking
ClusteredIndexes
ContinueScriptingOnError
ConvertUserDefinedDataTypesToBaseType
DdlBodyOnly
DdlHeaderOnly
Default
DriAll
DriAllConstraints
DriAllKeys
DriChecks
DriClustered
DriDefaults
DriForeignKeys
DriIncludeSystemNames
DriIndexes
DriNonClustered
DriPrimaryKey
DriUniqueKeys
DriWithNoCheck
EnforceScriptingOptions
ExtendedProperties
FullTextCatalogs
FullTextIndexes
FullTextStopLists
IncludeDatabaseContext
IncludeDatabaseRoleMemberships
IncludeFullTextCatalogRootPath
IncludeHeaders
IncludeIfNotExists
Indexes
LoginSid
NoAssemblies
NoCollation
NoCommandTerminator
NoExecuteAs
NoFileGroup
NoFileStream
NoFileStreamColumn
NoIdentities
NoIndexPartitioningSchemes
NoMailProfileAccounts
NoMailProfilePrincipals
NonClusteredIndexes
NoTablePartitioningSchemes
NoVardecimal
NoViewColumns
NoXmlNamespaces
OptimizerData
Permissions
PrimaryObject
SchemaQualify
SchemaQualifyForeignKeysReferences
ScriptBatchTerminator
ScriptData
ScriptDataCompression
ScriptOwner
ScriptSchema
Statistics
TimestampToBinary
ToFileOnly
Triggers
WithDependencies
XmlIndexes

Methods

Add(ScriptOption, ScriptOption)
BitwiseOr(ScriptOption, ScriptOption)
Equals(Object)
GetHashCode()
ToString()

Operators

Addition(ScriptOption, ScriptOption)

This method allows us to set multiple options by using plus sign

BitwiseOr(ScriptOption, ScriptOption)
Implicit(ScriptOption to ScriptingOptions)

Applies to