RoleEnvironment::GetDeploymentId Method

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

Syntax

public:
utility::string_t GetDeploymentId()  

Return value

Type: utility::string_t 

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.

Requirements

Header: Declared in RoleEnvironment.h.

Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).

See also

Reference

RoleEnvironment

RoleEnvironment Members