Share via


CcmEvent.DateTime Property

 

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.

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

Syntax

[StatusMessagePropertyAttribute(true)]
public string DateTime { get; set; }
public:
[StatusMessagePropertyAttribute(true)]
property String^ DateTime {
    String^ get();
    void set(String^ value);
}
<StatusMessagePropertyAttribute(True)>
Public Property DateTime As String

Property Value

Type: System.String

See Also

CcmEvent Class
Microsoft.ConfigurationManagement.Messaging.StatusMessages Namespace

Return to top