Share via


DeploymentEnvironment Class

This class contains all the deployment environment metadata and also the secret environment properties. This class does not serialize the secret values: those are fetched from the client on demand.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Client.DeploymentEnvironment

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

Syntax

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

The DeploymentEnvironment type exposes the following members.

Properties

  Name Description
Public property ConnectedService
Public property EnvironmentMetadata The deployment environment metadata which includes the name (ID), connectedServiceName, friendly name, description, kind, TeamProject and ProjectId

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 a hash function for a particular type. (Inherited from Object.)
Public method GetPropertyValue
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

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