In Configuration Manager, the MediaLabel property contains a label to identify the task sequence media.

HRESULT MediaLabel([in] BSTR Label);

HRESULT MediaLabel([out,retval] BSTR* Label);



Data type: BSTRQualifiers: [in; out, retval]On input, the media label to set. On output, this parameter points to the retrieved media label.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following value.


The method succeeded.


Windows Explorer uses this label to identify the media when the media is launched.

See Also

Other Resources

ITsMediaClass Interface

Send comments about this topic to Microsoft.