The ISmsMessage4::SetPort method, in Configuration Manager, sets the port to use for communication.

[IDL]
HRESULT SetPort(
	 ULONG  ulPort
);

Parameters

ulPort


Data type: ULONGQualifiers: [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

Other Resources

ISmsMessage4 Interface


Send comments about this topic to Microsoft.