ShareName Property

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