共用方式為


FaxDoc.Tsid property

Sets or retrieves the Tsid property of a FaxDoc object. The Tsid property is a null-terminated string that contains a user-defined transmitting station identifier (TSID).

This property is read/write.

Syntax

Property Tsid As String

Property value

A String that specifies or receives a user-defined TSID associated with the fax transmission.

Remarks

If the fax server allows user-defined TSID strings, the service will transmit the value of the pVal parameter to the receiving fax device instead of the TSID associated with the sending device. You can call the UseDeviceTsid method to determine whether the fax server is configured to permit user-specified TSIDs.

If the fax server allows user-defined TSID strings, the service will transmit the value of pVal to the receiving fax device instead of the TSID associated with the sending device. You can use the UseDeviceTsid property to determine whether the fax server is configured to permit user-specified TSIDs.

The TSID is typically the fax number of the device sending the transmission. Note that the T.30 specification of the International Telecommunication Union (ITU) restricts the value of a TSID to 20 ASCII characters. If a fax client application specifies a TSID that contains non-ASCII characters, the fax service removes them. If the TSID exceeds 20 characters, the service truncates the extra characters.

The get_Tsid method allocates the memory required for the buffer pointed to by the pVal parameter. The client application must call the SysFreeString function to deallocate the resources associated with this parameter. For more information, see Freeing Fax Resources.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Faxcom.h
DLL
Faxcom.dll

See also

FaxDoc

Fax Service Client API for Windows 2000

Fax Service Client API Interfaces

IFaxDoc

UseDeviceTsid

SysFreeString