Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the timestamp for an option.
Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public void SetDateTime(
    string optionName,
    DateTime optionValue,
    uint flags
)
public:
void SetDateTime(
    String^ optionName,
    DateTime optionValue,
    unsigned int flags
)
member SetDateTime : 
        optionName:string *
        optionValue:DateTime *
        flags:uint32 -> unit
Public Sub SetDateTime (
    optionName As String,
    optionValue As Date,
    flags As UInteger
)
Parameters
- optionName 
 Type: System.String- The name of the option. 
- optionValue 
 Type: System.DateTime- The timestamp value to use for the option. 
- flags 
 Type: System.UInt32- Option flags. 
Remarks
Use this method to set the __MI_SUBSCRIPTIONDELIVERYOPTIONS_SET_EXPIRATION_TIME option with a specific time.
See Also
SetDateTime Overload
CimSubscriptionDeliveryOptions Class
Microsoft.Management.Infrastructure.Options Namespace
Return to top