This documentation is archived and is not being maintained.

ConnectionOptions Members

ConnectionOptions overview

Public Constructors

public constructorConnectionOptions Constructor Overloaded. Initializes a new instance of the ConnectionOptions class.

Public Properties

public propertyAuthentication Gets or sets the COM authentication level to be used for operations in this connection.
public propertyAuthority Gets or sets the authority to be used to authenticate the specified user.
public propertyContext (inherited from ManagementOptions) Gets or sets a WMI context object. This is a name-value pairs list to be passed through to a WMI provider that supports context information for customized operation.
public propertyEnablePrivileges Gets or sets a value indicating whether user privileges need to be enabled for the connection operation. This property should only be used when the operation performed requires a certain user privilege to be enabled (for example, a machine reboot).
public propertyImpersonation Gets or sets the COM impersonation level to be used for operations in this connection.
public propertyLocale Gets or sets the locale to be used for the connection operation.
public propertyPassword Gets or sets the password for the specified user.
public propertyTimeout (inherited from ManagementOptions) Gets or sets the timeout to apply to the operation. Note that for operations that return collections, this timeout applies to the enumeration through the resulting collection, not the operation itself (the ReturnImmediately property is used for the latter).This property is used to indicate that the operation should be performed semisynchronously.
public propertyUsername Gets or sets the user name to be used for the connection operation.

Public Methods

public methodClone Overridden. Returns a copy of the object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ConnectionOptions Class | System.Management Namespace