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

屬性值

共用印表機的公用 (Public) 名稱。

備註

物件 PrintQueue 也有唯讀 FullName 屬性和可 Name 寫入的屬性。 對於本機列印伺服器上的佇列,這些屬性具有相同的值。

適用於