PrintQueue コンストラクター

定義

PrintQueue クラスの新しいインスタンスを初期化します。

オーバーロード

PrintQueue(PrintServer, String)

指定した PrintQueue とキュー名を使用して、PrintServer クラスの新しいインスタンスを初期化します。

PrintQueue(PrintServer, String, Int32)

指定した PrintQueue、キュー名、および印刷スキーマのバージョンを使用して、PrintServer クラスの新しいインスタンスを初期化します。

PrintQueue(PrintServer, String, PrintQueueIndexedProperty[])

指定した PrintQueue、キュー名、および初期化する PrintServer 値の配列を使用して、PrintQueueIndexedProperty クラスの新しいインスタンスを初期化します。

PrintQueue(PrintServer, String, PrintSystemDesiredAccess)

指定した PrintQueue、キュー名、および必要なアクセスを使用して、PrintServer クラスの新しいインスタンスを初期化します。

PrintQueue(PrintServer, String, String[])

指定した PrintQueue、キュー名、および初期化するプロパティ名の配列を使用して、PrintServer クラスの新しいインスタンスを初期化します。

PrintQueue(PrintServer, String, Int32, PrintSystemDesiredAccess)

指定した PrintQueue、キュー名、印刷スキーマのバージョン、および必要なアクセスを使用して、PrintServer クラスの新しいインスタンスを初期化します。

PrintQueue(PrintServer, String, PrintQueueIndexedProperty[], PrintSystemDesiredAccess)

指定した PrintQueue、キュー名、初期化する PrintServer 値の配列、および必要なアクセスを使用して、PrintQueueIndexedProperty クラスの新しいインスタンスを初期化します。

PrintQueue(PrintServer, String, String[], PrintSystemDesiredAccess)

指定した PrintQueue、キュー名、プロパティ フィルター、および必要なアクセスを使用して、PrintServer クラスの新しいインスタンスを初期化します。

PrintQueue(PrintServer, String)

指定した PrintQueue とキュー名を使用して、PrintServer クラスの新しいインスタンスを初期化します。

public:
 PrintQueue(System::Printing::PrintServer ^ printServer, System::String ^ printQueueName);
public PrintQueue (System.Printing.PrintServer printServer, string printQueueName);
new System.Printing.PrintQueue : System.Printing.PrintServer * string -> System.Printing.PrintQueue
Public Sub New (printServer As PrintServer, printQueueName As String)

パラメーター

printServer
PrintServer

印刷キューをホストするプリント サーバー。

printQueueName
String

印刷キューの名前。

注釈

PrintQueueアクセスする既定UsePrinterのパラメーターをPrintSystemDesiredAccess含まないコンストラクター。

適用対象

PrintQueue(PrintServer, String, Int32)

指定した PrintQueue、キュー名、および印刷スキーマのバージョンを使用して、PrintServer クラスの新しいインスタンスを初期化します。

public:
 PrintQueue(System::Printing::PrintServer ^ printServer, System::String ^ printQueueName, int printSchemaVersion);
public PrintQueue (System.Printing.PrintServer printServer, string printQueueName, int printSchemaVersion);
new System.Printing.PrintQueue : System.Printing.PrintServer * string * int -> System.Printing.PrintQueue
Public Sub New (printServer As PrintServer, printQueueName As String, printSchemaVersion As Integer)

パラメーター

printServer
PrintServer

印刷キューをホストするプリント サーバー。

printQueueName
String

印刷キューの名前。

printSchemaVersion
Int32

使用する印刷スキーマのバージョン。

注釈

PrintQueueアクセスする既定UsePrinterのパラメーターをPrintSystemDesiredAccess含まないコンストラクター。

Windows Vista でリリースされた 印刷スキーマ のバージョンは "1" です。

適用対象

PrintQueue(PrintServer, String, PrintQueueIndexedProperty[])

指定した PrintQueue、キュー名、および初期化する PrintServer 値の配列を使用して、PrintQueueIndexedProperty クラスの新しいインスタンスを初期化します。

public:
 PrintQueue(System::Printing::PrintServer ^ printServer, System::String ^ printQueueName, cli::array <System::Printing::PrintQueueIndexedProperty> ^ propertyFilter);
public PrintQueue (System.Printing.PrintServer printServer, string printQueueName, System.Printing.PrintQueueIndexedProperty[] propertyFilter);
new System.Printing.PrintQueue : System.Printing.PrintServer * string * System.Printing.PrintQueueIndexedProperty[] -> System.Printing.PrintQueue
Public Sub New (printServer As PrintServer, printQueueName As String, propertyFilter As PrintQueueIndexedProperty())

パラメーター

printServer
PrintServer

印刷キューをホストするプリント サーバー。

printQueueName
String

印刷キューの名前。

propertyFilter
PrintQueueIndexedProperty[]

初期化するプロパティ値を指定する PrintQueueIndexedProperty 値の配列。

注釈

PrintQueueアクセスする既定UsePrinterのパラメーターをPrintSystemDesiredAccess含まないコンストラクター。

パラメーターでコンストラクター propertyFilter を使用すると、パフォーマンスが向上します。

適用対象

PrintQueue(PrintServer, String, PrintSystemDesiredAccess)

指定した PrintQueue、キュー名、および必要なアクセスを使用して、PrintServer クラスの新しいインスタンスを初期化します。

public:
 PrintQueue(System::Printing::PrintServer ^ printServer, System::String ^ printQueueName, System::Printing::PrintSystemDesiredAccess desiredAccess);
public PrintQueue (System.Printing.PrintServer printServer, string printQueueName, System.Printing.PrintSystemDesiredAccess desiredAccess);
new System.Printing.PrintQueue : System.Printing.PrintServer * string * System.Printing.PrintSystemDesiredAccess -> System.Printing.PrintQueue
Public Sub New (printServer As PrintServer, printQueueName As String, desiredAccess As PrintSystemDesiredAccess)

パラメーター

printServer
PrintServer

印刷キューをホストするプリント サーバー。

printQueueName
String

印刷キューの名前。

desiredAccess
PrintSystemDesiredAccess

プログラムで必要な、印刷キューへのアクセスの種類を指定する、いずれかの PrintSystemDesiredAccess 値。

例外

desiredAccess は、PrintServer オブジェクトだけに適用できる値で、PrintQueue には適用できません。 たとえば、「 AdministrateServer 」のように入力します。

適用対象

PrintQueue(PrintServer, String, String[])

指定した PrintQueue、キュー名、および初期化するプロパティ名の配列を使用して、PrintServer クラスの新しいインスタンスを初期化します。

public:
 PrintQueue(System::Printing::PrintServer ^ printServer, System::String ^ printQueueName, cli::array <System::String ^> ^ propertyFilter);
public PrintQueue (System.Printing.PrintServer printServer, string printQueueName, string[] propertyFilter);
new System.Printing.PrintQueue : System.Printing.PrintServer * string * string[] -> System.Printing.PrintQueue
Public Sub New (printServer As PrintServer, printQueueName As String, propertyFilter As String())

パラメーター

printServer
PrintServer

印刷キューをホストするプリント サーバー。

printQueueName
String

印刷キューの名前。

propertyFilter
String[]

初期化するプロパティ名の配列。

注釈

PrintQueueアクセスする既定UsePrinterのパラメーターをPrintSystemDesiredAccess含まないコンストラクター。

パラメーターでコンストラクター propertyFilter を使用すると、パフォーマンスが向上します。

適用対象

PrintQueue(PrintServer, String, Int32, PrintSystemDesiredAccess)

指定した PrintQueue、キュー名、印刷スキーマのバージョン、および必要なアクセスを使用して、PrintServer クラスの新しいインスタンスを初期化します。

public:
 PrintQueue(System::Printing::PrintServer ^ printServer, System::String ^ printQueueName, int printSchemaVersion, System::Printing::PrintSystemDesiredAccess desiredAccess);
public PrintQueue (System.Printing.PrintServer printServer, string printQueueName, int printSchemaVersion, System.Printing.PrintSystemDesiredAccess desiredAccess);
new System.Printing.PrintQueue : System.Printing.PrintServer * string * int * System.Printing.PrintSystemDesiredAccess -> System.Printing.PrintQueue
Public Sub New (printServer As PrintServer, printQueueName As String, printSchemaVersion As Integer, desiredAccess As PrintSystemDesiredAccess)

パラメーター

printServer
PrintServer

印刷キューをホストするプリント サーバー。

printQueueName
String

印刷キューの名前。

printSchemaVersion
Int32

使用する印刷スキーマのバージョン。

desiredAccess
PrintSystemDesiredAccess

プログラムで必要な、印刷キューへのアクセスの種類を指定する、いずれかの PrintSystemDesiredAccess 値。

例外

desiredAccess は、PrintServer オブジェクトだけに適用できる値で、PrintQueue には適用できません。 たとえば、「 AdministrateServer 」のように入力します。

注釈

Windows Vista でリリースされた 印刷スキーマ のバージョンは "1" です。

適用対象

PrintQueue(PrintServer, String, PrintQueueIndexedProperty[], PrintSystemDesiredAccess)

指定した PrintQueue、キュー名、初期化する PrintServer 値の配列、および必要なアクセスを使用して、PrintQueueIndexedProperty クラスの新しいインスタンスを初期化します。

public:
 PrintQueue(System::Printing::PrintServer ^ printServer, System::String ^ printQueueName, cli::array <System::Printing::PrintQueueIndexedProperty> ^ propertyFilter, System::Printing::PrintSystemDesiredAccess desiredAccess);
public PrintQueue (System.Printing.PrintServer printServer, string printQueueName, System.Printing.PrintQueueIndexedProperty[] propertyFilter, System.Printing.PrintSystemDesiredAccess desiredAccess);
new System.Printing.PrintQueue : System.Printing.PrintServer * string * System.Printing.PrintQueueIndexedProperty[] * System.Printing.PrintSystemDesiredAccess -> System.Printing.PrintQueue
Public Sub New (printServer As PrintServer, printQueueName As String, propertyFilter As PrintQueueIndexedProperty(), desiredAccess As PrintSystemDesiredAccess)

パラメーター

printServer
PrintServer

印刷キューをホストするプリント サーバー。

printQueueName
String

印刷キューの名前。

propertyFilter
PrintQueueIndexedProperty[]

初期化するプロパティを指定する PrintQueueIndexedProperty 値の配列。

desiredAccess
PrintSystemDesiredAccess

プログラムで必要な、印刷キューへのアクセスの種類を指定する、いずれかの PrintSystemDesiredAccess 値。

例外

desiredAccess は、PrintServer オブジェクトだけに適用できる値で、PrintQueue には適用できません。 たとえば、「 AdministrateServer 」のように入力します。

注釈

パラメーターでコンストラクター propertyFilter を使用すると、パフォーマンスが向上します。

適用対象

PrintQueue(PrintServer, String, String[], PrintSystemDesiredAccess)

指定した PrintQueue、キュー名、プロパティ フィルター、および必要なアクセスを使用して、PrintServer クラスの新しいインスタンスを初期化します。

public:
 PrintQueue(System::Printing::PrintServer ^ printServer, System::String ^ printQueueName, cli::array <System::String ^> ^ propertyFilter, System::Printing::PrintSystemDesiredAccess desiredAccess);
public PrintQueue (System.Printing.PrintServer printServer, string printQueueName, string[] propertyFilter, System.Printing.PrintSystemDesiredAccess desiredAccess);
new System.Printing.PrintQueue : System.Printing.PrintServer * string * string[] * System.Printing.PrintSystemDesiredAccess -> System.Printing.PrintQueue
Public Sub New (printServer As PrintServer, printQueueName As String, propertyFilter As String(), desiredAccess As PrintSystemDesiredAccess)

パラメーター

printServer
PrintServer

印刷キューをホストするプリント サーバー。

printQueueName
String

印刷キューの名前。

propertyFilter
String[]

初期化するプロパティ名の配列。

desiredAccess
PrintSystemDesiredAccess

プログラムで必要な、印刷キューへのアクセスの種類を指定する、いずれかの PrintSystemDesiredAccess 値。

例外

desiredAccess は、PrintServer オブジェクトだけに適用できる値で、PrintQueue には適用できません。 たとえば、「 AdministrateServer 」のように入力します。

注釈

パラメーターでコンストラクター propertyFilter を使用すると、パフォーマンスが向上します。

適用対象