The ISmsClient::EnableAutoAssignment method, in Configuration Manager, enables or disables the auto-assignment feature of the client.

[IDL]
HRESULT EnableAutoAssignment(
	VARIANT_BOOL bEnable
);

Parameters

bEnable


Data type: VARIANT_BOOLQualifiers: [in]true (1) if auto-assignment is enabled.

Return Value

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Remarks

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.

Requirements

smsclient.dll

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.