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 | |
---|---|---|
![]() |
CimSessionOptions() | Creates and initializes a new instance of the CimSessionOptions class that uses the default transport protocol. |
![]() |
CimSessionOptions(String) | Creates and initializes a new instance of the CimSessionOptions class that uses a specific transport protocol. |
Properties
Name | Description | |
---|---|---|
![]() |
Culture | Gets or sets the data culture. |
![]() |
Timeout | Gets or sets the timeout interval value. |
![]() |
UICulture | Gets or sets the UI culture. |
Methods
Name | Description | |
---|---|---|
![]() |
AddDestinationCredentials(CimCredential) | Adds a destination credential. |
![]() |
Dispose() | Releases resources associated with this object. |
![]() |
Dispose(Boolean) | Releases resources associated with this object. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
SetCustomOption(String, String) | Sets a custom option to a string value. |
![]() |
SetCustomOption(String, UInt32) | Sets a custom option to an integer value. |
![]() |
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