WSManSessionOptions Class
Represents options of a CIM session that uses WSMan 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.WSManSessionOptions
Syntax
public class WSManSessionOptions : CimSessionOptions
public ref class WSManSessionOptions : CimSessionOptions
type WSManSessionOptions =
class
inherit CimSessionOptions
end
Public Class WSManSessionOptions
Inherits CimSessionOptions
Constructors
Name | Description | |
---|---|---|
WSManSessionOptions() | Creates and initializes a new instance of WSManSessionOptions using WSMan as the protocol for the CIM session options. |
|
WSManSessionOptions(WSManSessionOptions) | Creates and initializes a new instance of WSManSessionOptions by making a detailed clone of an existing object. |
Properties
Name | Description | |
---|---|---|
CertCACheck | Gets or sets the flag that determines whether the client should validate that the server certificate be signed by a trusted certification authority (CA). |
|
CertCNCheck | Gets or sets the flag that determines whether the client should validate that the certificate common name (CN) of the server match the hostname of the server. |
|
CertRevocationCheck | Gets or sets the flag that determines whether the client should validate the revocation status of the server certificate. |
|
Culture | Gets or sets the data culture.(Inherited from CimSessionOptions.) |
|
DestinationPort | Gets or sets the port to use to communicate to the destination. |
|
EncodePortInServicePrincipalName | Gets or sets the flag that determines whether to encode the port in the service principal name (SPN) when establishing a connection. |
|
HttpUrlPrefix | Gets or sets the HTTP URL prefix. |
|
MaxEnvelopeSize | Gets or sets the maximum packet size for transports of the SOAP envelope. |
|
NoEncryption | Gets or sets the flag that determines whether there is packet privacy (encryption). |
|
PacketEncoding | Gets or sets the packet encoding mechanism. |
|
ProxyType | Gets or sets the type of proxy settings to use when communicating to a destination through a proxy. |
|
Timeout | Gets or sets the timeout interval value.(Inherited from CimSessionOptions.) |
|
UICulture | Gets or sets the UI culture.(Inherited from CimSessionOptions.) |
|
UseSsl | Gets or sets whether the client should use Secure Sockets Layer (SSL). |
Methods
Name | Description | |
---|---|---|
AddDestinationCredentials(CimCredential) | Adds a destination credential.(Inherited from CimSessionOptions.) |
|
AddProxyCredentials(CimCredential) | Adds CIM credentials to authenticate against a proxy. |
|
Dispose() | Releases resources associated with this object.(Inherited from CimSessionOptions.) |
|
Dispose(Boolean) | Releases resources associated with this object.(Inherited from CimSessionOptions.) |
|
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.(Inherited from CimSessionOptions.) |
|
SetCustomOption(String, UInt32) | Sets a custom option to an integer value.(Inherited from CimSessionOptions.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
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