หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Sets the URI path for this address.
Syntax
HRESULT SetPath(
[in] LPCWSTR pszPath
);
Parameters
[in] pszPath
The URI path to use for this address.
Return value
This method can return one of these values.
Possible return values include, but are not limited to, the following.
| Return code | Description |
|---|---|
|
Method completed successfully. |
|
The length in characters of pszPath exceeds WSD_MAX_TEXT_LENGTH (8192). |
|
The method failed. |
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 |