Share via


Task Class

Represents an asynchronous operation for the TaskComponent.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.LocalizationManager
    Microsoft.SqlServer.Management.TaskComponent
      Microsoft.SqlServer.Management.Task

Namespace:  Microsoft.SqlServer.Management
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class Task _
    Inherits TaskComponent
'Usage
Dim instance As Task
[SerializableAttribute]
public class Task : TaskComponent
[SerializableAttribute]
public ref class Task : public TaskComponent
[<SerializableAttribute>]
type Task =  
    class
        inherit TaskComponent
    end
public class Task extends TaskComponent

The Task type exposes the following members.

Constructors

  Name Description
Public method Task Initializes a new instance of the Task class.

Top

Properties

  Name Description
Public property Properties Gets or sets the properties of the component. (Inherited from TaskComponent.)
Public property ResourceManager Gets or sets the string value for the ResourceManager control. (Inherited from LocalizationManager.)
Public property Type Gets or sets the type of the component. (Inherited from TaskComponent.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize Prepares to view, edit, and design the component. This class cannot be inherited. (Inherited from TaskComponent.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property ITaskFormComponentInfo.ComponentType Gets the specified type of component. (Inherited from TaskComponent.)
Explicit interface implemetationPrivate property ITaskFormComponentInfo.Properties Gets the properties associated with the component. (Inherited from TaskComponent.)

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.