Partager via


CimSubscriptionDeliveryOptions.SetDateTime Method (String, DateTime, UInt32)

 

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

  • optionValue
    Type: System.DateTime

    The timestamp value to use for the option.

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