Partager via


ITsMediaClass::ConnectionOptions Property

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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: BSTR

    Qualifiers: [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

Concepts

ITsMediaClass Interface