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:
property String^ ShareName {
	virtual String^ get();
	virtual void set(String^ value);
}

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: