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 time interval for an option.
Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public void SetDateTime(
    string optionName,
    TimeSpan optionValue,
    uint flags
)
public:
void SetDateTime(
    String^ optionName,
    TimeSpan optionValue,
    unsigned int flags
)
member SetDateTime : 
        optionName:string *
        optionValue:TimeSpan *
        flags:uint32 -> unit
Public Sub SetDateTime (
    optionName As String,
    optionValue As TimeSpan,
    flags As UInteger
)
Parameters
- optionName 
 Type: System.String- The name of the option. 
- optionValue 
 Type: System.TimeSpan- The time interval 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 for an interval after the subscription request is received.
See Also
SetDateTime Overload
CimSubscriptionDeliveryOptions Class
Microsoft.Management.Infrastructure.Options Namespace
Return to top