Gets the collection of instances for the role.
public:
GetInstances()
Type:
The instance objects for the role.
The number of instances of a role to be deployed to Windows Azure is specified in the ServiceConfiguration.cscfg file.
You can change the number of role instances that are running by changing the instances count in the ServiceConfiguration.csfg file.
At least one internal endpoint must be defined for a role to enable instances to be known at runtime.
Header: Declared in ServiceDefinition.h.
Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).