Partager via


ISmsClient2::ClearProxy Method

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

The ISmsClient2::ClearProxy method, in Configuration Manager, clears the proxy information from the cache. The next request automatically initiates proxy detection.

[IDL]
HRESULT ClearProxy(
      BSTR bstrProtocol
);

Parameters

  • bstrProtocol
    Data type: BSTR

    Qualifiers: [in]

    Protocol for which proxy information must be cleared. Possible values are:

    • http

    • https

Return Value

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

  • S_OK
    The method succeeded.

Requirements

smsclient.dll

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

ISmsClient2 Client COM Automation Interface
Configuration Manager Client Configuration