The SMS_TargetingAgentConfig Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents how the client is configured for user and device affinity.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_TargetingAgentConfig : SMS_ClientAgentConfig_BaseClass
{
	UInt32 AgentID;
	UInt32 AllowUserAffinity;
	UInt32 AllowUserAffinityAfterMinutes;
	UInt32 AutoApproveAffinity;
	UInt32 ConsoleMinutes;
	UInt32 IntervalDays;
};

Methods

The SMS_TargetingAgentConfig class does not define any methods.

Properties

AgentID

Data type: UInt32Access type: Read-only Qualifiers: [key, read]Identifies the client agent component. The Targeting Agent Config ID is 10.
AllowUserAffinity

Data type: UInt32Access type: Read/Write Qualifiers: noneAutomatically configures user device affinity from usage data.
AllowUserAffinityAfterMinutes

Data type: UInt32Access type: Read/Write Qualifiers: noneThis property is obsolete.
AutoApproveAffinity

Data type: UInt32Access type: Read/Write Qualifiers: noneAllows users to define their primary devices.
ConsoleMinutes

Data type: UInt32Access type: Read/Write Qualifiers: noneUser device affinity usage threshold in minutes.
IntervalDays

Data type: UInt32Access type: Read/Write Qualifiers: noneUser device affinity usage threshold in days.

Remarks

Requirements

Runtime Requirements

Development Requirements