PrintQueue.ShareName 属性

定义

获取或设置网络上的用户可以看到的共享打印机的名称。Gets or sets a name for the printer that is seen by users on the network when it is shared.

public:
 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

属性值

共享打印机的公共名称。The public name of a shared printer.

注解

PrintQueue 对象还具有只读 FullName 属性和可写 Name 属性。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.

适用于