Sets the number of instances that will be deployed as part of this processing unit instance.

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

- numberOfInstances (Int32)
- Number of instances the processing unit will have.

The ProcessingUnitDeployment set with the specified number of instances.