Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PrintQueue.ShareName Property

 

Gets or sets a name for the printer that is seen by users on the network when it is shared.

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)

public virtual string ShareName { get; set; }

Property Value

Type: System.String

The public name of a shared printer.

The PrintQueue object also has a read only FullName property and a writeable Name property. For queues on the local print server, these properties have the same value.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft