The ISmsClient::EnableAutoAssignment method, in Configuration Manager, enables or disables the auto-assignment feature of the client.
[IDL] HRESULT EnableAutoAssignment( VARIANT_BOOL bEnable );
- Data type: VARIANT_BOOLQualifiers: [in]true (1) if auto-assignment is enabled.
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
When auto-assignment is enabled, the client performs the task on a scheduled interval. Use of this interval allows the client to find new sites when roaming between sites.
Local Administrator privileges are required to call this method.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.
Send comments about this topic to Microsoft.