Freigeben über


DeploymentEnvironmentMetadata Class

This class contains the "public" information about a DeploymentEnvironent.

This includes the Name, TeamProject, ConnectedServiceName, FriendlyName, Kind, and Description. Used by Clients to display DeploymentEnviornment without revealing the secret information.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Server.DeploymentEnvironmentMetadata

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

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Public)> _
Public Class DeploymentEnvironmentMetadata
[ClassVisibilityAttribute(ClientVisibility.Public)]
public class DeploymentEnvironmentMetadata
[ClassVisibilityAttribute(ClientVisibility::Public)]
public ref class DeploymentEnvironmentMetadata
[<ClassVisibilityAttribute(ClientVisibility.Public)>]
type DeploymentEnvironmentMetadata =  class end
public class DeploymentEnvironmentMetadata

The DeploymentEnvironmentMetadata type exposes the following members.

Constructors

  Name Description
Public method DeploymentEnvironmentMetadata()
Protected method DeploymentEnvironmentMetadata(DeploymentEnvironmentMetadata)
Public method DeploymentEnvironmentMetadata(String, String, String, DeploymentEnvironmentKind, String, String) Constructor for DeploymentEnvironmentMetadata

Top

Properties

  Name Description
Public property ConnectedServiceName Name of the ConnectedService associated with this deployment.
Public property Description Extra description on the deployment.
Public property FriendlyName A friendly name to represent the deployment instead of 'name' which will often be a GUID.
Public property Kind The kind of deployment.
Public property Name Unique name of the deployment such as a GUID.
Public property TeamProject Name of the project associated with this deployment

Top

Methods

  Name Description
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 GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
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.Server Namespace