Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Sets the transport ID for the current transaction.
Syntax
HRESULT SetID(
[in] LPCWSTR pszId
);
Parameters
[in] pszId
Pointer to the desired transport ID for the current transaction.
Return value
Possible return values include, but are not limited to, the following:
| Return code | Description |
|---|---|
|
Method completed successfully. |
|
pszId is NULL or the length in characters of pszId exceeds WSD_MAX_TEXT_LENGTH (8192). |
|
Insufficient memory to complete the operation. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wsdbase.h (include Wsdapi.h) |
| DLL | Wsdapi.dll |