Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In Configuration Manager, the ShowSwapMediaDialog method displays message box to prompt a user to swap media.
Syntax
[IDL]
HRESULT ShowSwapMediaDialog(
BSTR pszTaskSequenceName,
ULONG uMediaNumber
);
Parameters
pszTaskSequenceName
Data type: BSTR
Qualifiers: [in]
Pointer to the name of the task sequence that is currently running. The value can be retrieved from the _SMSTSPackageName environment variable.
uMediaNumber
Data type: ULONG
Qualifiers: [in]
The value of the media item to be swapped by the user.
Return values
An HRESULT code. Possible values include, but aren't limited to, the following value. There are no HRESULT values returned that are specific to this method.
S_OK The method succeeded.