In Configuration Manager, the ConnectionOptions property contains a comma-delimited list of name=value pairs to use when establishing the Windows Management Instrumentation (WMI) connection to the SMS Provider.

[IDL]
HRESULT ConnectionOptions([in] BSTR Options);

HRESULT ConnectionOptions([out,retval] BSTR* Options);

Parameters

Options

Data type: BSTRQualifiers: [in; out, retval]On input, the options to set. On output, this parameter points to the retrieved options. For possible values, see the Remarks section later in this topic.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following value.

S_OK

The method succeeded.

Remarks

Possible values for this property are:

  • Username

  • Domain

  • Password

  • Local

  • Authority

For more information about these options, see the MSDN documentation for the method IWbemLocator::ConnectServer.

See Also