共用方式為


BuildDeployment Class

Represents a deployment in the TFS Build server.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Client.BuildDeployment

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Public NotInheritable Class BuildDeployment
public sealed class BuildDeployment
public ref class BuildDeployment sealed
[<Sealed>]
type BuildDeployment =  class end
public final class BuildDeployment

The BuildDeployment type exposes the following members.

Constructors

  Name Description
Public method BuildDeployment

Top

Properties

  Name Description
Public property Deployment Gets the deployment build URI. This field is read-only.
Public property DeploymentDefinitionName Gets the build definition used to execute the deployment.
Public property Properties Dictionary of string properties with string keys
Public property Source Gets the source build URI. This field is read-only.
Public property WebsiteUrl Url to the build Web site for the deployment.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

Top

Remarks

This class contains the build summary for the actual deployment and the build summary for source build being deployed.

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.Client Namespace