Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ConnectionOptions Properties

The ConnectionOptions type exposes the following members.

  Name Description
Public property Authentication Gets or sets the COM authentication level to be used for operations in this connection.
Public property Authority Gets or sets the authority to be used to authenticate the specified user.
Public property Context 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. (Inherited from ManagementOptions.)
Public property EnablePrivileges 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 restart).
Public property Impersonation Gets or sets the COM impersonation level to be used for operations in this connection.
Public property Locale Gets or sets the locale to be used for the connection operation.
Public property Password Sets the password for the specified user.
Public property SecurePassword Sets the password for the specified user.
Public property Timeout Gets or sets the time-out to apply to the operation. Note that for operations that return collections, this time-out 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 semi-synchronously. (Inherited from ManagementOptions.)
Public property Username Gets or sets the user name to be used for the connection operation.
Top
Show:
© 2014 Microsoft. All rights reserved.