Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Syntax
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: UInt32
Access type: Read-only
Qualifiers: [key, read]
Identifies the client agent component. The Targeting Agent Config ID is 10.
AllowUserAffinity
Data type: UInt32
Access type: Read/Write
Qualifiers: none
Allows users to define their primary devices.
AllowUserAffinityAfterMinutes
Data type: UInt32
Access type: Read/Write
Qualifiers: none
This property is obsolete.
AutoApproveAffinity
Data type: UInt32
Access type: Read/Write
Qualifiers: none
Automatically configures user device affinity from usage data.
ConsoleMinutes
Data type: UInt32
Access type: Read/Write
Qualifiers: none
User device affinity usage threshold in minutes.
IntervalDays
Data type: UInt32
Access type: Read/Write
Qualifiers: none
User device affinity usage threshold in days.
Remarks
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.