Share via


DatabaseTaskHost Class

This class and its members are reserved for internal use and are not intended to be used in your code. Represents the database task host.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Build.DatabaseTaskHost

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class DatabaseTaskHost _
    Implements ITaskHost, IDisposable, ISerializable
[SerializableAttribute]
public abstract class DatabaseTaskHost : ITaskHost, 
    IDisposable, ISerializable
[SerializableAttribute]
public ref class DatabaseTaskHost abstract : ITaskHost, 
    IDisposable, ISerializable
[<AbstractClass>]
[<SerializableAttribute>]
type DatabaseTaskHost =  
    class
        interface ITaskHost
        interface IDisposable
        interface ISerializable
    end
public abstract class DatabaseTaskHost implements ITaskHost, IDisposable, ISerializable

The DatabaseTaskHost type exposes the following members.

Constructors

  Name Description
Protected method DatabaseTaskHost(SerializationInfo, StreamingContext) Initializes a new instance of the DatabaseTaskHost class.
Protected method DatabaseTaskHost(DatabaseSchemaProvider, ErrorManager, Boolean, String) Initializes a new instance of the DatabaseTaskHost class.

Top

Properties

  Name Description
Public property DatabaseSchemaProvider Gets the database schema provider for this DatabaseTaskHost.
Public property DataSchemaModel Gets or sets the data schema model that is loaded with source items and that is used by the build.
Public property Errors Gets the error manager.
Public property IdeMode Gets a value that indicates whether IDE mode is true.
Public property IsAsyncModelBuildingRunning Gets a value that indicates whether model building occurs in the background.
Public property IsCatalogPropertyFileValid Gets a value that indicates whether the catalog property file is valid.
Public property IsOptimizedForInsert Gets a value that indicates whether the model is optimized for insert.
Public property IsOptimizedForQuery Gets a value that indicates whether the model is optimized for query.
Public property IsServerPropertyFileValid Gets a value that indicates whether the server property file is valid.
Protected property ModelBuilder Gets the model builder used by the file manager.

Top

Methods

  Name Description
Protected method AddOrUpdate Adds custom data, such as references, to the schema manager.
Protected method BuildCanceled Indicates whether the build was canceled.
Public method Dispose() Releases resources.
Protected method Dispose(Boolean) Releases resources, as specified.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAllProperties Returns all the properties for a given source.
Public method GetCatalogProperty Returns the value of a catalog property.
Public method GetChangedPropertiesFromPropertiesFile Returns a list of properties for the given configuration from the property file at fullPath where the property has either been added, deleted, or changed.
Public method GetDefaultValue Returns the default value for this property from the given source.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjectData Populates a SerializationInfo with the data that is required to serialize the target object.
Protected method GetProperty Returns the current value for a property.
Public method GetServerProperty Returns the value of a server property.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetWorkload Returns the amount of work left to partially resolve the model.
Protected method Initialize Used when deserializing.
Protected method InitializeConstructor(DataSchemaModelConstructor) Initializes the constructor.
Protected method InitializeConstructor(ModelBuilderConstructor) Not used.
Protected method InitializeConstructor(ParserConstructor) Use this method to initialize the database schema provider-specific parser constructor.
Protected method InternalGetAllProperties Returns the actual list of properties for that source.
Public method IsTaskItemUnchanged Returns a value that indicates whether the script and metadata that were last processed by the file manager represent the version of the file currently on disk.
Protected method MatchesDataSchemaModelValue Returns a value that indicates whether the value set on the data schema model is matched.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnCreateCustomSchemaData Returns nulla null reference (Nothing in Visual Basic).
Protected method OnFixupAfterDeserialization Does nothing.
Protected method OnProcessFileListPriorToBatchLoadOrUpdate Allows database schema provider implementations to process the file list before it is inserted into the model.
Protected method OnProcessFileListPriorToRemove Allows database schema provider implementations to remove files from their model builder in unique ways.
Protected method OnReadPropertiesFile Returns all properties read from the specified properties file.
Protected method OnResetBuildValidationStatus Called during a build operation just before fully resolving the model.
Protected method OnRunBuildValidations Use this method to visit your model to look for elements that violate any validation rules.
Public method OptimizeForInsert Optimizes the file manager for insertion.
Public method OptimizeForQuery Optimizes the file manager for query.
Protected method PopulateCustomMetadataNames Database schema provider implementations override this to provide a list of custom metadata names, such as references.
Protected method PostInitDataSchemaModel Called after the schema manager has been created, and enables database schema provider implementations to update any model options.
Protected method RemoveCustomSchemaData Removes the specified custom schema data file (for example, references) from the schema manager.
Public method ResetAllCatalogProperties Resets all catalog properties to their default state, which is as if the properties file did not exist.
Public method ResetAllServerProperties Resets all server properties to their default state, which is as if the properties file did not exist.
Public method SetAndSavePropertyFiles Sets these properties in batch and saves the file.
Protected method SetValue Sets the current value for the property.
Protected method StopAsyncModelBuilding()
Protected method StopAsyncModelBuilding(Int32) Stops the occurrence of async model building until AsyncModelBuildingBlocker.Dispose is called.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ValidateDataSchemaModel Called to validate the current DataSchemaModel.
Protected methodStatic member ValidateValueIsBoolean Returns a value that indicates whether the specified value is a valid Boolean.
Protected methodStatic member ValidateValueIsFloat Returns a value that indicates whether the specified value is a valid float.
Protected methodStatic member ValidateValueIsInSet Returns a value that indicates whether the specified value is a valid value for the data type.
Protected methodStatic member ValidateValueIsInt Returns a value that indicates whether the specified value is a valid integer.
Protected method VerifyConfigurationAfterSet Used to verify any properties that are dependent on the setting of this property.

Top

Fields

  Name Description
Public fieldStatic member NumberElementsToResolve An integer that contains the amount of remaining work, represented as the number of model elements that must still be resolved.

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.Data.Schema.Build Namespace