IPrinterQueue::Name property

Gets the name of the printer for this print queue.

This property is read-only.

Syntax


HRESULT get_Name(
  [out, retval] BSTR *pbstrName
);

Property value

The name of the printer for this print queue.

Error codes

Returns an HRESULT value. If the property call was not successful, it returns the appropriate HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Printerextension.h

See also

IPrinterQueue

 

 

Send comments about this topic to Microsoft

Show: