Partager via


SoftDistProgramShouldNeverRun Class

 

Event that is fired when a software distribution that should not run is executed.

Namespace:   Microsoft.ConfigurationManagement.Messaging.StatusMessages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.StatusMessages.CcmEvent
    Microsoft.ConfigurationManagement.Messaging.StatusMessages.SmsEvent
      Microsoft.ConfigurationManagement.Messaging.StatusMessages.SmsStatusMessage
        Microsoft.ConfigurationManagement.Messaging.StatusMessages.SoftwareDistributionEventBase
          Microsoft.ConfigurationManagement.Messaging.StatusMessages.SoftDistProgramShouldNeverRun

Syntax

[SerializableAttribute]
public sealed class SoftDistProgramShouldNeverRun : SoftwareDistributionEventBase
[SerializableAttribute]
public ref class SoftDistProgramShouldNeverRun sealed : SoftwareDistributionEventBase
<SerializableAttribute>
Public NotInheritable Class SoftDistProgramShouldNeverRun
    Inherits SoftwareDistributionEventBase

Constructors

Name Description
System_CAPS_pubmethod SoftDistProgramShouldNeverRun()

Initializes a new instance of the SoftDistProgramShouldNeverRun class.

Properties

Name Description
System_CAPS_pubproperty AdvertisementId

Gets or sets the advertisement ID of the software distribution. (Inherited from SoftwareDistributionEventBase.)

System_CAPS_pubproperty ClientId

Gets or sets the client ID of the client sending the status message. (Inherited from CcmEvent.)

System_CAPS_pubproperty DateTime

Gets or sets the time for the status message. The default value is Now.

This value needs to be set to a SmsTime-style format, not a DateTime format, or serialization on the management point will fail. (Inherited from CcmEvent.)

System_CAPS_pubproperty DummyString2

Gets or sets DummyString2.

System_CAPS_pubproperty DummyString3

Gets or sets DummyString3.

System_CAPS_pubproperty EventId

Gets or sets the NT event ID for the message. (Inherited from CcmEvent.)

System_CAPS_pubproperty MachineName

Gets or sets the NetBIOS name of the machine that is sending the message. (Inherited from SmsStatusMessage.)

System_CAPS_pubproperty PackageName

Gets or sets the package name for the software distribution. (Inherited from SoftwareDistributionEventBase.)

System_CAPS_pubproperty ProcessId

Gets or sets the ProcessID for the message. The default value is the ID for the current process. (Inherited from CcmEvent.)

System_CAPS_pubproperty ProgramName

Gets or sets the program name for the software distribution. (Inherited from SoftwareDistributionEventBase.)

System_CAPS_pubproperty Severity

The severity for this event is Informational. (Overrides CcmEvent.Severity.)

System_CAPS_pubproperty SiteCode

Gets or sets the assigned site for the message. (Inherited from SmsStatusMessage.)

System_CAPS_pubproperty StatusMessageType

Status message of type SoftDistProgramShouldNeverRun. (Overrides SmsStatusMessage.StatusMessageType.)

System_CAPS_pubproperty ThreadId

Gets or sets the ThreadID for the message. The default value is the thread ID for the current process. (Inherited from CcmEvent.)

System_CAPS_pubproperty TopLevelSiteCode

Gets or sets the central site. If you do not set this property, it will use the value that is set for SiteCode. (Inherited from SmsStatusMessage.)

System_CAPS_pubproperty Win32ErrorCode

Gets or sets the Win32 error code to associate with the status message. (Inherited from SmsStatusMessage.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.StatusMessages Namespace

Return to top