共用方式為


PrintQueue.ShareName 屬性

定義

取得或設定印表機名稱,當使用者分享時,網路上會看到該印表機。

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

屬性值

共用印表機的公開名稱。

備註

PrintQueue 物件同時具備唯讀 FullName 特性與可 Name 寫特性。 對於本地列印伺服器上的佇列,這些屬性的值是相同的。

適用於