Share via


CimOperationOptions Class

 

Represents options of a CIM operation.

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Management.Infrastructure.Options.CimOperationOptions

Syntax

public class CimOperationOptions : IDisposable, ICloneable
public ref class CimOperationOptions : IDisposable, ICloneable
type CimOperationOptions = 
    class
        interface IDisposable
        interface ICloneable
    end
Public Class CimOperationOptions
    Implements IDisposable, ICloneable

Constructors

Name Description
System_CAPS_pubmethod CimOperationOptions()

Creates and initializes a new instance of CimOperationOptions where the server must process all of the options.

System_CAPS_pubmethod CimOperationOptions(Boolean)

Creates and initializes a new instance of CimOperationOptions while specifying whether the server must process all of the options.

System_CAPS_pubmethod CimOperationOptions(CimOperationOptions)

Creates and initializes a detailed copy of CimOperationOptions.

Properties

Name Description
System_CAPS_pubproperty CancellationToken

Gets or sets a token that can be used to cancel the operation.

System_CAPS_pubproperty ClassNamesOnly

Gets or sets the flag that determines whether to send a query to the operation that sets it to return only the class name of a resulting CIM class.

System_CAPS_pubproperty EnableMethodResultStreaming

Gets or sets the flag that enables the streaming of method results.

System_CAPS_pubproperty Flags

Gets or sets operation flags.

System_CAPS_pubproperty IsDisposed

Gets or sets the flag that determines whether the resources associated with this object have been disposed.

System_CAPS_pubproperty KeysOnly

Gets or sets the flag that determines whether to send a query to the operation that sets it to return only the key properties of resulting CIM instances.

System_CAPS_pubproperty PromptUser

Sets the function to call when prompting the user.

System_CAPS_pubproperty PromptUserMode

Gets or sets the value that tells the server how to respond when it is prompted to continue or cancel an operation.

System_CAPS_pubproperty ReportOperationStarted

Gets or sets the flag that determines whether to report that the operation has started.

System_CAPS_pubproperty ResourceUri

Gets or sets the resource URI.

System_CAPS_pubproperty ResourceUriPrefix

Gets or sets the resource URI prefix.

System_CAPS_pubproperty ShortenLifetimeOfResults

Gets or sets the flag that determines whether to shorten the lifetime of returned results.

System_CAPS_pubproperty Timeout

Gets or sets the operation timeout interval value.

System_CAPS_pubproperty UseMachineId

Gets or sets the flag that determines whether to use computer identification information in the operation request.

System_CAPS_pubproperty WriteError

Sets the error reporting callback function.

System_CAPS_pubproperty WriteErrorMode

Gets or sets the error reporting mode.

System_CAPS_pubproperty WriteMessage

Sets the write message callback function.

System_CAPS_pubproperty WriteProgress

Sets the write progress callback function.

Methods

Name Description
System_CAPS_pubmethod DisableChannel(UInt32)

Disables logging to a channel.

System_CAPS_pubmethod Dispose()

Releases resources associated with this object.

System_CAPS_protmethod Dispose(Boolean)

Releases resources associated with this object.

System_CAPS_pubmethod EnableChannel(UInt32)

Enables logging to a channel.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SetCustomOption(String, Boolean, Boolean)

Sets a custom server or CIM provider option (Boolean value).

System_CAPS_pubmethod SetCustomOption(String, Byte, Boolean)

Sets a custom server or CIM provider option (byte value).

System_CAPS_pubmethod SetCustomOption(String, Char, Boolean)

Sets a custom server or CIM provider option (character value).

System_CAPS_pubmethod SetCustomOption(String, Double, Boolean)

Sets a custom server or CIM provider option (double-precision value).

System_CAPS_pubmethod SetCustomOption(String, Int16, Boolean)

Sets a custom server or CIM provider option (16-bit integer value).

System_CAPS_pubmethod SetCustomOption(String, Int32, Boolean)

Sets a custom server or CIM provider option (32-bit integer value).

System_CAPS_pubmethod SetCustomOption(String, Int64, Boolean)

Sets a custom server or CIM provider option (64-bit integer value).

System_CAPS_pubmethod SetCustomOption(String, Object, CimType, Boolean)

Sets a custom server or CIM provider option (object value).

System_CAPS_pubmethod SetCustomOption(String, SByte, Boolean)

Sets a custom server or CIM provider option (Boolean value).

System_CAPS_pubmethod SetCustomOption(String, Single, Boolean)

Sets a custom server or CIM provider option (single-precision value).

System_CAPS_pubmethod SetCustomOption(String, String, Boolean)

Sets a custom server or CIM provider option (string value).

System_CAPS_pubmethod SetCustomOption(String, UInt16, Boolean)

Sets a custom server or CIM provider option (unsigned 16-bit integer value).

System_CAPS_pubmethod SetCustomOption(String, UInt32, Boolean)

Sets a custom server or CIM provider option (unsigned 32-bit integer value).

System_CAPS_pubmethod SetCustomOption(String, UInt64, Boolean)

Sets a custom server or CIM provider option (unsigned 64-bit integer value).

System_CAPS_pubmethod SetOption(String, String)

Sets a custom transport option to a string value.

System_CAPS_pubmethod SetOption(String, UInt32)

Sets a custom transport option to an integer value.

System_CAPS_pubmethod SetPromptUserRegularMode(CimCallbackMode, Boolean)

Sets the server's default behavior when responding to a regular prompt.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICloneable.Clone()

Creates a new object that is a copy of the current instance.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Management.Infrastructure.Options Namespace

Return to top