RdvCreateUserDiskTemplate method of the Win32_RdvhManagement class
Creates a user disk template, with the specified maximum size, at the specified location.
Syntax
uint32 RdvCreateUserDiskTemplate(
[in] string UserDisksStorageUrl,
[in] uint32 UserDiskMaxSizeInGB
);
Parameters
-
UserDisksStorageUrl [in]
-
Location of the user disk storage.
-
UserDiskMaxSizeInGB [in]
-
Maximum size of the user disk, in GB.
Return value
Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values.
Remarks
All user disks created using this template will have the same maximum size as the template.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\CIMv2\TerminalServices |
MOF |
|
DLL |
|