RoleEnvironment.DeploymentId Property

 

Gets the unique identifier of the deployment in which the role instance is running.

Namespace:   Microsoft.WindowsAzure.ServiceRuntime
Assembly:  Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)

public static string DeploymentId { get; }

Property Value

Type: System.String

Type: System.String

A String that contains the deployment identifier.

Deployment IDs are opaque strings and should not be parsed or otherwise inspected because their format might change.

Return to top
Show: