Compartilhar via


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)

Syntax

public static string DeploymentId { get; }
public:
property String^ DeploymentId {
    static String^ get();
}
static member DeploymentId : string with get
Public Shared ReadOnly Property DeploymentId As String

Property Value

Type: System.String

Type: System.String

A String that contains the deployment identifier.

Remarks

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

See Also

RoleEnvironment Class
Microsoft.WindowsAzure.ServiceRuntime Namespace

Return to top