Поделиться через


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

[IDL]
HRESULT SetPort(
     ULONG  ulPort
);

Parameters

  • ulPort
    Data type: ULONG

    Qualifiers: [in]

    Value specifying the port. The default port value is 80 for mixed security mode and 443 for native security mode.

Return Values

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

  • S_OK
    The method succeeded.

Remarks

This method is for use with HTTP communication only.

Requirements

See Also

Concepts

ISmsMessage4 Interface