ASExecuteDDLTask::SourceType Property
Gets or sets a value from the DDLSourceType enumeration indicating the source type that contains the DDL statements.
Assembly: Microsoft.SqlServer.ASTasks (in Microsoft.SqlServer.ASTasks.dll)
public: property DDLSourceType SourceType { DDLSourceType get(); void set(DDLSourceType value); }
Property Value
Type: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask::DDLSourceTypeA value from the DDLSourceType enumeration.
The following code sample creates, configures, and executes a new ASExecuteDDLTask that loads the DDL statement to execute from a file connection. The sample uses the SourceType property.
Show: