RoleInstance::GetId Method

Gets the instance identifier (ID) of the role instance.

Syntax

public:
utility::string_t GetId()  

Return value

Type: utility::string_t 

the instance ID for the role instance.

Remarks

The instance ID is unique to the application. If a role instance is stopped and has been configured to restart automatically, the restarted role instance will have the same instance ID as the stopped role instance.

Requirements

Header: Declared in ServiceDefinition.h.

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

See also

Reference

RoleInstance

RoleInstance Members