Sets the maximum number of instances per machine.
On partitioned topology with backups topology, controls that a primary and a backup won't run
on the same machine if set to 1.
On a non partitioned with backups topology, controls the maximum number of instances running on
the same machine.

C# | Visual Basic | Visual C++ | J# |
public virtual ProcessingUnitDeployment MaxInstancesPerMachine( int maxInstancesPerMachine )
Public Overridable Function MaxInstancesPerMachine ( _ maxInstancesPerMachine As Integer _ ) As ProcessingUnitDeployment
public: virtual ProcessingUnitDeployment^ MaxInstancesPerMachine( int maxInstancesPerMachine )
public ProcessingUnitDeployment MaxInstancesPerMachine( int maxInstancesPerMachine )

- maxInstancesPerMachine (Int32)
- The maximum instances per machine.

The ProcessingUnitDeployment set with the specified maximum instances per machine.