IScriptPublishOptions Interface

Definition

Defines settings that control the formatting of scripts and which types of objects are included

public interface IScriptPublishOptions
type IScriptPublishOptions = interface
Public Interface IScriptPublishOptions

Properties

BatchSeparator
ConvertUddtToBaseType
DelimitStatements
GenerateAnsiPadding
IncludeCollation
IncludeHeaders
IncludeIdentity
IncludeIfNotExists
IncludeScriptingParametersHeader
IncludeVarDecimal
SchemaQualify
SchemaQualifyForeignKeys
ScriptBinding
ScriptChangeTracking
ScriptCheckConstraints
ScriptDataCompressionOptions
ScriptDefaults
ScriptDependentObjects
ScriptDriIncludeSystemNames
ScriptExtendedProperties
ScriptFileGroups
ScriptForeignKeys
ScriptFullTextCatalogs
ScriptFullTextIndexes
ScriptIndexes
ScriptOwner
ScriptPartitionSchemes
ScriptPermissions
ScriptPrimaryKeys
ScriptStatistics
ScriptTriggers
ScriptUniqueKeys
ScriptUseDatabase
ScriptViewColumns
TargetDatabaseEngineEdition
TargetDatabaseEngineType
TargetSourceServer

Returns a value indicating that script target settings should be based on the version of the source SQL Server

TargetVersion

Methods

GetSmoScriptingOptions()

Returns the SMO ScriptingOptions represented by the current IScriptPublishOptions properties

GetSmoScriptingOptions(Object)

Returns the SMO ScriptingOptions derived from combining the current IScriptPublishOptions properties with the version of SQL Server instance associated with the sourceObject

Applies to