PrintServer.DeletePrintQueue 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从打印服务器中删除打印队列。
重载
| 名称 | 说明 |
|---|---|
| DeletePrintQueue(PrintQueue) |
从打印服务器中删除指定的 PrintQueue 值。 |
| DeletePrintQueue(String) |
从打印服务器中删除具有指定名称的打印队列。 |
DeletePrintQueue(PrintQueue)
从打印服务器中删除指定的 PrintQueue 值。
public:
static bool DeletePrintQueue(System::Printing::PrintQueue ^ printQueue);
public static bool DeletePrintQueue(System.Printing.PrintQueue printQueue);
static member DeletePrintQueue : System.Printing.PrintQueue -> bool
Public Shared Function DeletePrintQueue (printQueue As PrintQueue) As Boolean
参数
- printQueue
- PrintQueue
已删除的队列。
返回
true 如果已成功删除队列,则为否则,为 false.
适用于
DeletePrintQueue(String)
从打印服务器中删除具有指定名称的打印队列。
public:
static bool DeletePrintQueue(System::String ^ printQueueName);
public static bool DeletePrintQueue(string printQueueName);
static member DeletePrintQueue : string -> bool
Public Shared Function DeletePrintQueue (printQueueName As String) As Boolean
参数
- printQueueName
- String
已删除的队列的名称。
返回
true 如果已成功删除队列,则为否则,为 false.