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 | |
|---|---|---|
| .gif) | DeploymentEnvironmentMetadata() | |
| .gif) | DeploymentEnvironmentMetadata(DeploymentEnvironmentMetadata) | |
| .gif) | DeploymentEnvironmentMetadata(String, String, String, DeploymentEnvironmentKind, String, String) | Constructor for DeploymentEnvironmentMetadata | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | ConnectedServiceName | Name of the ConnectedService associated with this deployment. | 
| .gif) | Description | Extra description on the deployment. | 
| .gif) | FriendlyName | A friendly name to represent the deployment instead of 'name' which will often be a GUID. | 
| .gif) | Kind | The kind of deployment. | 
| .gif) | Name | Unique name of the deployment such as a GUID. | 
| .gif) | TeamProject | Name of the project associated with this deployment | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | 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.