SMS_TargetingAgentConfig Server WMI Class

 

Updated: November 1, 2013

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

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;
};

The SMS_TargetingAgentConfig class does not define any methods.

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.

Show: