PrintQueue.ShareName Property


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

 virtual property System::String ^ ShareName { System::String ^ get(); void set(System::String ^ value); };
public virtual string ShareName { get; set; }
member this.ShareName : string with get, set
Public Overridable Property ShareName As String

Property Value

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.

Applies to