Partager via


ITsMediaClass::MediaLabel Property

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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

[IDL]
HRESULT MediaLabel([in] BSTR Label);

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

Parameters

  • Label
    Data type: BSTR

    Qualifiers: [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.

  • S_OK
    The method succeeded.

Remarks

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

See Also

Concepts

ITsMediaClass Interface