SqlImportScriptService Class
This service is offered to allow other database features to import scripts.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.Schema.Package.Sql.Project.SqlImportScriptService
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Sql.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package.Sql (in Microsoft.VisualStudio.Data.Schema.Package.Sql.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class SqlImportScriptService
[CLSCompliantAttribute(false)]
public sealed class SqlImportScriptService
[CLSCompliantAttribute(false)]
public ref class SqlImportScriptService sealed
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type SqlImportScriptService = class end
public final class SqlImportScriptService
The SqlImportScriptService type exposes the following members.
Properties
Name | Description | |
---|---|---|
AddImportedPermissionsToModel | Gets a value indicating whether to add imported permissions to the model. | |
Completed | Gets a value that indicates whether the import operation was successfully completed. | |
Encoding | Gets the file encoding. | |
IgnoreExtendedProperties | Ignore extended properties. | |
IgnorePermissions | Ignore permissions. | |
Messages | Gets a list of messages that were generated during the import operation. | |
OverwriteExistingObjects | Gets a value indicating whether to overwrite existing objects. | |
ScriptFileName | Gets the file name to import. | |
ThrownException | Gets the exception that can be thrown during the operation. | |
WasCanceled | Gets a value that indicates whether the import operation was canceled. |
Top
Methods
Name | Description | |
---|---|---|
DoImportScript | This method performs the import operation based on the properties of this object. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
Canceled | This event is used to indicate that the engine was canceled. | |
MessageGenerated | This event is used to provide messages back to the creator of this engine. | |
PlanCreated | This event indicates that the initial import of the objects has been completed and the engine is ready to update the project. | |
Progress | This event is used to indicate the progress of the import operation. | |
ProjectUpdated | This event indicates that the project has been updated with any new scripts. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Sql.Project Namespace