共用方式為


Get Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Tasks.Task
    Microsoft.TeamFoundation.Build.Tasks.WorkflowTask
      Microsoft.TeamFoundation.Build.Tasks.Get

Namespace:  Microsoft.TeamFoundation.Build.Tasks
Assembly:  Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)

Syntax

'Declaration
Public Class Get _
    Inherits WorkflowTask
public class Get : WorkflowTask
public ref class Get : public WorkflowTask
type Get =  
    class 
        inherit WorkflowTask 
    end
public class Get extends WorkflowTask

The Get type exposes the following members.

Constructors

  Name Description
Public method Get

Top

Properties

  Name Description
Public property AllowUnmapped
Public property AutoMerge
Public property BuildAgentUri Property that gives the Uri of the Build Agent (Inherited from WorkflowTask.)
Public property BuildDirectory
Public property BuildEngine ITask implementation—BuildEngine property. (Inherited from Task.)
Public property BuildUri Property that gives the URI of the build for which this task is executing. Derived classes can override this property to make it required. (Inherited from Task.)
Public property Deletes The list of all items that were deleted from the workspace.
Protected property Extensions (Inherited from WorkflowTask.)
Public property Filespec The local path file specification that should be retrieved.
Public property Force Forces all files to be retrieved, not just those that are out of date. This option also overwrites writable files on the local disk that are under version control but not checked out.
Public property Gets The list of all items that did not occur in the workspace.
Public property HostObject ITask implementation—HostObject property. (Inherited from Task.)
Public property NoCIOption
Public property Overwrite This option provides the ability to overwrite writable files without forcing a get of the complete workspace.
Public property PopulateOutput A Boolean that controls whether the output properties—Gets, Replaces, Deletes—are populated.
Public property Preview When set to true, no files are actually downloaded; instead, events are fired that show what files would have been downloaded.
Public property Recursive Retrieves Filespec recursively.
Public property Replaces The list of all items that were replaced in the workspace.
Public property TeamFoundationServerUrl Property that gives the URL of the Team Foundation Server. (Inherited from Task.)
Protected property Tfs Lazy [init] property that gives access to the Team Foundation Server. (Inherited from Task.)
Public property Version The version specifier that will be used to pick the correct versions of files to retrieve into the local workspace.
Public property Warnings The list of warnings encountered during the Get operation.
Public property Workspace The name of the workspace.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Execute ITask implementation - Execute method. (Inherited from Task.)
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 GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetParameterLog (Inherited from Task.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method LogCustomEvent Helper to log a custom event if the task is running within MSBuild. (Inherited from Task.)
Protected method LogError Helper to log an error string if the task is running within MSBuild. (Inherited from Task.)
Protected method LogErrorEvent Helper to log an error event if the task is running within MSBuild. (Inherited from Task.)
Protected method LogMessage(String) Helper to log a message string if the task is running within MSBuild. (Inherited from Task.)
Protected method LogMessage(String, MessageImportance) Helper to log a message string if the task is running within MSBuild. (Inherited from Task.)
Protected method LogMessageEvent Helper to log a message event if the task is running within MSBuild. (Inherited from Task.)
Protected method LogWarning Helper to log a warning string if the task is running within MSBuild. (Inherited from Task.)
Protected method LogWarningEvent Helper to log a warning event if the task is running within MSBuild. (Inherited from Task.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.TeamFoundation.Build.Tasks Namespace