次の方法で共有


ISmsMessage4::SetProxy 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 ISmsMessage4::SetProxy method, in Configuration Manager, sets the proxy to use for communication.

[IDL]
HRESULT SetProxy(
      LPCWSTR szProxyName,
      LPCWSTR szUserName,
      LPCWSTR szPassword
);

Parameters

  • szProxyName
    Data type: LPCWSTR

    Qualifiers: [in]

    Null-terminated string specifying the proxy name.

  • szUserName
    Data type: LPCWSTR

    Qualifiers: [in]

    Null-terminated string specifying the user name. Set this parameter to null for no user name.

  • szPassword
    Data type: LPCWSTR

    Qualifiers: [in]

    Null-terminated string specifying the password. Set this parameter to null for no password.

Return Values

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

  • S_OK
    The method succeeded.

Remarks

This method is applicable to native security mode only when communicating over the Internet.

This method is for use with HTTP communication only.

Requirements

See Also

Concepts

ISmsMessage4 Interface