TimeHelpers.ToSystemTime Method (DateTime)

 

Converts a DateTime object to a SystemTime representation.

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

Syntax

public static SystemTime ToSystemTime(
    this DateTime time
)
public:
[ExtensionAttribute]
static SystemTime ToSystemTime(
    DateTime time
)
<ExtensionAttribute>
Public Shared Function ToSystemTime (
    time As Date
) As SystemTime

Parameters

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Framework.SystemTime

See Also

TimeHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top