CimSessionOptions Class

 

Represents options of a CIM session.

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

Inheritance Hierarchy

System.Object
  Microsoft.Management.Infrastructure.Options.CimSessionOptions
    Microsoft.Management.Infrastructure.Options.DComSessionOptions
    Microsoft.Management.Infrastructure.Options.WSManSessionOptions

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod CimSessionOptions()

Creates and initializes a new instance of the CimSessionOptions class that uses the default transport protocol.

System_CAPS_protmethod CimSessionOptions(String)

Creates and initializes a new instance of the CimSessionOptions class that uses a specific transport protocol.

Properties

Name Description
System_CAPS_pubproperty Culture

Gets or sets the data culture.

System_CAPS_pubproperty Timeout

Gets or sets the timeout interval value.

System_CAPS_pubproperty UICulture

Gets or sets the UI culture.

Methods

Name Description
System_CAPS_pubmethod AddDestinationCredentials(CimCredential)

Adds a destination credential.

System_CAPS_pubmethod Dispose()

Releases resources associated with this object.

System_CAPS_protmethod Dispose(Boolean)

Releases resources associated with this object.

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, String)

Sets a custom option to a string value.

System_CAPS_pubmethod SetCustomOption(String, UInt32)

Sets a custom option to an integer value.

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