Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None

RoleEnvironment.DeploymentId Property

Updated: December 6, 2013

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 Shared ReadOnly Property DeploymentId As String
J#

Property Value

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms