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 | |
---|---|---|
CimOperationOptions() | Creates and initializes a new instance of CimOperationOptions where the server must process all of the options. |
|
CimOperationOptions(Boolean) | Creates and initializes a new instance of CimOperationOptions while specifying whether the server must process all of the options. |
|
CimOperationOptions(CimOperationOptions) | Creates and initializes a detailed copy of CimOperationOptions. |
Properties
Name | Description | |
---|---|---|
CancellationToken | Gets or sets a token that can be used to cancel the operation. |
|
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. |
|
EnableMethodResultStreaming | Gets or sets the flag that enables the streaming of method results. |
|
Flags | Gets or sets operation flags. |
|
IsDisposed | Gets or sets the flag that determines whether the resources associated with this object have been disposed. |
|
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. |
|
PromptUser | Sets the function to call when prompting the user. |
|
PromptUserMode | Gets or sets the value that tells the server how to respond when it is prompted to continue or cancel an operation. |
|
ReportOperationStarted | Gets or sets the flag that determines whether to report that the operation has started. |
|
ResourceUri | Gets or sets the resource URI. |
|
ResourceUriPrefix | Gets or sets the resource URI prefix. |
|
ShortenLifetimeOfResults | Gets or sets the flag that determines whether to shorten the lifetime of returned results. |
|
Timeout | Gets or sets the operation timeout interval value. |
|
UseMachineId | Gets or sets the flag that determines whether to use computer identification information in the operation request. |
|
WriteError | Sets the error reporting callback function. |
|
WriteErrorMode | Gets or sets the error reporting mode. |
|
WriteMessage | Sets the write message callback function. |
|
WriteProgress | Sets the write progress callback function. |
Methods
Name | Description | |
---|---|---|
DisableChannel(UInt32) | Disables logging to a channel. |
|
Dispose() | Releases resources associated with this object. |
|
Dispose(Boolean) | Releases resources associated with this object. |
|
EnableChannel(UInt32) | Enables logging to a channel. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
SetCustomOption(String, Boolean, Boolean) | Sets a custom server or CIM provider option (Boolean value). |
|
SetCustomOption(String, Byte, Boolean) | Sets a custom server or CIM provider option (byte value). |
|
SetCustomOption(String, Char, Boolean) | Sets a custom server or CIM provider option (character value). |
|
SetCustomOption(String, Double, Boolean) | Sets a custom server or CIM provider option (double-precision value). |
|
SetCustomOption(String, Int16, Boolean) | Sets a custom server or CIM provider option (16-bit integer value). |
|
SetCustomOption(String, Int32, Boolean) | Sets a custom server or CIM provider option (32-bit integer value). |
|
SetCustomOption(String, Int64, Boolean) | Sets a custom server or CIM provider option (64-bit integer value). |
|
SetCustomOption(String, Object, CimType, Boolean) | Sets a custom server or CIM provider option (object value). |
|
SetCustomOption(String, SByte, Boolean) | Sets a custom server or CIM provider option (Boolean value). |
|
SetCustomOption(String, Single, Boolean) | Sets a custom server or CIM provider option (single-precision value). |
|
SetCustomOption(String, String, Boolean) | Sets a custom server or CIM provider option (string value). |
|
SetCustomOption(String, UInt16, Boolean) | Sets a custom server or CIM provider option (unsigned 16-bit integer value). |
|
SetCustomOption(String, UInt32, Boolean) | Sets a custom server or CIM provider option (unsigned 32-bit integer value). |
|
SetCustomOption(String, UInt64, Boolean) | Sets a custom server or CIM provider option (unsigned 64-bit integer value). |
|
SetOption(String, String) | Sets a custom transport option to a string value. |
|
SetOption(String, UInt32) | Sets a custom transport option to an integer value. |
|
SetPromptUserRegularMode(CimCallbackMode, Boolean) | Sets the server's default behavior when responding to a regular prompt. |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
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