共用方式為


CCM_SoftwareDistributionClientConfig Client WMI Class

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

In Configuration Manager 2007, the CCM_SoftwareDistributionClientConfig class is a client Windows Management Instrumentation (WMI) class that represents client configuration for software distribution on the client.

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

Class CCM_SoftwareDistributionClientConfig : CCM_ComponentClientConfig
{
      Boolean ADV_RebootLogoffNotification;
      UInt32 ADV_RebootLogoffNotificationCountdownDuration;
      UInt32 ADV_RebootLogoffNotificationFinalWindow;
      UInt32 ADV_RunNotificationCountdownDuration;
      UInt32 ADV_WhatsNewDuration;
      UInt32 CacheContentTimeout;
      UInt32 CacheSpaceFailureRetryCount;
      UInt32 CacheSpaceFailureRetryInterval;
      UInt32 CacheTombstoneContentMinDuration;
      String ComponentName;
      UInt32 ContentLocationTimeoutInterval;
      UInt32 ContentLocationTimeoutRetryCount;
      UInt32 DefaultMaxDuration;
      Boolean DisplayNewProgramNotification;
      Boolean Enabled;
      UInt32 ExecutionFailureRetryCount;
      UInt32 ExecutionFailureRetryErrorCodes[];
      UInt32 ExecutionFailureRetryInterval;
      Boolean LockSettings;
      UInt32 LogoffReturnCodes[];
      String NetworkAccessPassword;
      String NetworkAccessUsername;
      UInt32 NetworkFailureRetryCount;
      UInt32 NetworkFailureRetryInterval;
      String NewProgramNotificationUI;
      String PolicyID;
      String PolicyInstanceID;
      UInt32 PolicyPrecedence;
      String PolicyRuleID;
      String PolicySource;
      String PolicyVersion;
      Boolean PRG_PRF_RunNotification;
      UInt32 RebootReturnCodes[];
      String Reserved;
      String Reserved1;
      String Reserved2;
      String Reserved3;
      UInt32 SiteSettings[key];
      UInt32 SuccessReturnCodes[];
      UInt32 UIContentLocationTimeoutInterval;
      UInt32 UserPreemptionCountdown;
      UInt32 UserPreemptionTimeout;
};

Methods

The CCM_SoftwareDistributionClientConfig class does not define any methods.

Properties

  • ADV_RebootLogoffNotification
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    true if the client should display a notification countdown for restarting the computer or logging off the current user.

  • ADV_RebootLogoffNotificationCountdownDuration
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Duration, in seconds, of the restart and logoff notification shown on the client.

  • ADV_RebootLogoffNotificationFinalWindow
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Duration, in seconds, of the final countdown time period for restart and logoff notifications. During this time period, the user cannot hide the countdown notification window.

  • ADV_RunNotificationCountdownDuration
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Duration, in seconds, of the run notification shown on the client.

  • ADV_WhatsNewDuration
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Duration, in days, that a new program appears in the What's New category.

  • CacheContentTimeout
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Duration, in seconds, after which content can be deleted from the cache, even when referenced.

  • CacheSpaceFailureRetryCount
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Number of times to retry for non-fatal cache errors (-1 = 4,294,967,295 retries).

  • CacheSpaceFailureRetryInterval
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Interval, in seconds, between retry attempts for non-fatal cache errors.

  • CacheTombstoneContentMinDuration
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Minimum duration, in seconds, that content must be kept in the cache. This value does not set any extra time for the content to be kept in the cache after being tombstoned.

  • ComponentName
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Name of the component.

  • ContentLocationTimeoutInterval
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Duration, in seconds, after which attempts to locate content should be failed.

  • ContentLocationTimeoutRetryCount
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Number of times a content location request retries after recoverable failures have occurred.

  • DefaultMaxDuration
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Default maximum run time, in seconds, for a program.

  • DisplayNewProgramNotification
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    true if the client should alert the user when a new program becomes available.

  • Enabled
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    true if software distribution is enabled.

    false if software distribution is disabled.

  • ExecutionFailureRetryCount
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Number of times to retry for non-fatal execution errors (-1 = 4,294,967,295 retries).

  • ExecutionFailureRetryErrorCodes
    Data type: UInt32 Array

    Access type: Read/Write

    Qualifiers: None

    A list of the default program retry values from the site. If a program fails with one of these exit codes, the program will be retried. The possible values are:

    0L

    ERROR_SUCCESS

    53L

    ERROR_BAD_NETPATH

    54L

    ERROR_NETWORK_BUSY

    55L

    ERROR_DEV_NOT_EXIST

    59L

    ERROR_UNEXP_NET_ERR

    64L

    ERROR_NETNAME_DELETED

    67L

    ERROR_BAD_NET_NAME

    70L

    ERROR_SHARING_PAUSED

    71L

    ERROR_REQ_NOT_ACCEP

    2250L

    ERROR_NOT_CONNECTED

    1219L

    ERROR_SESSION_CREDENTIAL_CONFLICT

    1220L

    ERROR_REMOTE_SESSION_LIMIT_EXCEEDED

    1231L

    ERROR_NETWORK_UNREACHABLE

    1232L

    ERROR_HOST_UNREACHABLE

    1238L

    ERROR_CONNECTION_COUNT_LIMIT

    1311L

    ERROR_NO_LOGON_SERVERS

    1265L

    ERROR_DOWNGRADE_DETECTED

    39L

    ERROR_HANDLE_DISK_FULL

    112L

    ERROR_DISK_FULL

    8L

    ERROR_NOT_ENOUGH_MEMORY

    14L

    ERROR_OUTOFMEMORY

    4L

    ERROR_TOO_MANY_OPEN_FILES

    1330L

    ERROR_PASSWORD_EXPIRED

    1222L

    ERROR_NO_NETWORK

    1203L

    ERROR_NO_NET_OR_BAD_PATH

    170L

    ERROR_BUSY

    5

    ERROR_ACCESS_DENIED

    13

    ERROR_INVALID_DATA

    51

    ERROR_REM_NOT_LIST

    65

    ERROR_NETWORK_ACCESS_DENIED

    85

    ERROR_ALREADY_ASSIGNED

    86

    ERROR_INVALID_PASSWORD

    87

    ERROR_INVALID_PARAMETER

    128

    ERROR_WAIT_NO_CHILDREN

    267

    ERROR_DIRECTORY

    999

    ERROR_SWAPERROR

    1003

    ERROR_CAN_NOT_COMPLETE

    1323

    ERROR_WRONG_PASSWORD

    1326

    ERROR_LOGON_FAILURE

    1618

    ERROR_INSTALL_ALREADY_RUNNING

    1622

    ERROR_INSTALL_LOGFAILURE

  • ExecutionFailureRetryInterval
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Interval, in seconds, between retry attempts for non-fatal execution errors.

  • LockSettings
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    true if the site settings are locked and cannot be overridden.

  • LogoffReturnCodes
    Data type: UInt32 Array

    Access type: Read/Write

    Qualifiers: None

    Array of program return codes that indicate a logoff is required.

  • NetworkAccessPassword
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Network access password.

  • NetworkAccessUsername
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Network access user name.

  • NetworkFailureRetryCount
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Number of times to retry for non-fatal network errors (-1 = 4,294,967,295 retries).

  • NetworkFailureRetryInterval
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Interval, in seconds, between retry attempts for non-fatal network errors.

  • NewProgramNotificationUI
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    The console that should be shown when a user double-clicks a new program notification. Possible values are:

    • ARP (Add/Remove Programs)

    • RAP (Run Advertised Programs)

  • PRG_PRF_RunNotification
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    true if the client should display a notification countdown before a program runs.

  • RebootReturnCodes
    Data type: UInt32 Array

    Access type: Read/Write

    Qualifiers: None

    Array of program return codes that indicate a restart is required.

  • Reserved
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Reserved for future use.

  • Reserved1
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Reserved for future use.

  • Reserved2
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Reserved for future use.

  • Reserved3
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Reserved for future use.

  • SiteSettings[key]
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Site settings key.

  • SuccessReturnCodes
    Data type: UInt32 Array

    Access type: Read/Write

    Qualifiers: None

    Array of program return codes that indicate success.

  • UIContentLocationTimeoutInterval
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Duration, in seconds, after which attempts to locate content should be failed.

  • UserPreemptionCountdown
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Duration, in seconds, of the countdown displayed to the user before preemption.

  • UserPreemptionTimeout
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    The duration, in seconds, after which a pending mandatory program will run, if the user does not click Run on the Ready to Run dialog for their optional program. This timeout is used so that mandatory programs are not blocked forever by users not clicking Run on the Download Completed/Ready to Run dialog for optional requests.

Requirements

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

Software Distribution Client WMI Classes