共用方式為


DComSessionOptions Class

 

Represents options of a CIM session that uses DCOM as the transport protocol.

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

Syntax

public class DComSessionOptions : CimSessionOptions
public ref class DComSessionOptions : CimSessionOptions
type DComSessionOptions = 
    class
        inherit CimSessionOptions
    end
Public Class DComSessionOptions
    Inherits CimSessionOptions

Constructors

Name Description
System_CAPS_pubmethod DComSessionOptions()

Creates and initializes a new instance of DComSessionOptions using DCOM as the protocol for the CIM session options.

System_CAPS_pubmethod DComSessionOptions(DComSessionOptions)

Creates and initializes a new instance of DComSessionOptions by making a detailed clone of an existing object.

Properties

Name Description
System_CAPS_pubproperty Culture

Gets or sets the data culture.(Inherited from CimSessionOptions.)

System_CAPS_pubproperty Impersonation

Gets or sets the impersonation value.

System_CAPS_pubproperty PacketIntegrity

Gets or sets the packet integrity (signing) of the connection.

System_CAPS_pubproperty PacketPrivacy

Gets or sets packet privacy (encryption).

System_CAPS_pubproperty Timeout

Gets or sets the timeout interval value.(Inherited from CimSessionOptions.)

System_CAPS_pubproperty UICulture

Gets or sets the UI culture.(Inherited from CimSessionOptions.)

Methods

Name Description
System_CAPS_pubmethod AddDestinationCredentials(CimCredential)

Adds a destination credential.(Inherited from CimSessionOptions.)

System_CAPS_pubmethod Dispose()

Releases resources associated with this object.(Inherited from CimSessionOptions.)

System_CAPS_protmethod Dispose(Boolean)

Releases resources associated with this object.(Inherited from CimSessionOptions.)

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.(Inherited from CimSessionOptions.)

System_CAPS_pubmethod SetCustomOption(String, UInt32)

Sets a custom option to an integer value.(Inherited from CimSessionOptions.)

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.(Inherited from CimSessionOptions.)

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