PrintServer.GetPrintQueue 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从打印服务器中获取指定的打印队列。
重载
| GetPrintQueue(String) | 从打印服务器中获取命名打印队列的引用。 | 
| GetPrintQueue(String, String[]) | 从打印服务器中获取指定的打印队列。 | 
GetPrintQueue(String)
从打印服务器中获取命名打印队列的引用。
public:
 System::Printing::PrintQueue ^ GetPrintQueue(System::String ^ printQueueName);public System.Printing.PrintQueue GetPrintQueue (string printQueueName);member this.GetPrintQueue : string -> System.Printing.PrintQueuePublic Function GetPrintQueue (printQueueName As String) As PrintQueue参数
- printQueueName
- String
打印队列的名称。
返回
具有打印服务器中的名称的 PrintQueue。
适用于
GetPrintQueue(String, String[])
从打印服务器中获取指定的打印队列。
public:
 System::Printing::PrintQueue ^ GetPrintQueue(System::String ^ printQueueName, cli::array <System::String ^> ^ propertiesFilter);public System.Printing.PrintQueue GetPrintQueue (string printQueueName, string[] propertiesFilter);member this.GetPrintQueue : string * string[] -> System.Printing.PrintQueuePublic Function GetPrintQueue (printQueueName As String, propertiesFilter As String()) As PrintQueue参数
- printQueueName
- String
打印队列的名称。
- propertiesFilter
- String[]
在返回的队列中进行初始化的属性的名称。
返回
具有打印服务器中的名称的 PrintQueue。