PrintQueue Konstruktory

Definice

Inicializuje novou instanci PrintQueue třídy.

Přetížení

Name Description
PrintQueue(PrintServer, String)

Inicializuje novou instanci třídy pomocí zadaného PrintQueuePrintServer názvu a názvu fronty.

PrintQueue(PrintServer, String, Int32)

Inicializuje novou instanci PrintQueue třídy pomocí zadaného PrintServernázvu fronty a verze schématu tisku.

PrintQueue(PrintServer, String, PrintQueueIndexedProperty[])

Inicializuje novou instanci PrintQueue třídy pomocí zadaného PrintServernázvu fronty a pole PrintQueueIndexedProperty hodnot k inicializaci.

PrintQueue(PrintServer, String, PrintSystemDesiredAccess)

Inicializuje novou instanci třídy pomocí zadaného PrintQueuenázvu fronty a požadovaného PrintServer přístupu.

PrintQueue(PrintServer, String, String[])

Inicializuje novou instanci PrintQueue třídy pomocí zadaného PrintServernázvu fronty a pole názvů vlastností k inicializaci.

PrintQueue(PrintServer, String, Int32, PrintSystemDesiredAccess)

Inicializuje novou instanci PrintQueue třídy pomocí zadaného PrintServernázvu fronty, verze schématu tisku a požadovaného přístupu.

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

Inicializuje novou instanci PrintQueue třídy se zadaným PrintServernázvem fronty, polem PrintQueueIndexedProperty hodnot pro inicializaci a požadovaným přístupem.

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

Inicializuje novou instanci třídy pomocí zadaného PrintQueuenázvu fronty, filtru vlastností a požadovaného PrintServer přístupu.

PrintQueue(PrintServer, String)

Inicializuje novou instanci třídy pomocí zadaného PrintQueuePrintServer názvu a názvu fronty.

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)

Parametry

printServer
PrintServer

Tiskový server pro hostování tiskové fronty.

printQueueName
String

Název tiskové fronty.

Poznámky

PrintQueue konstruktory, které nezahrnují PrintSystemDesiredAccess výchozí parametr pro UsePrinter přístup.

Platí pro

PrintQueue(PrintServer, String, Int32)

Inicializuje novou instanci PrintQueue třídy pomocí zadaného PrintServernázvu fronty a verze schématu tisku.

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)

Parametry

printServer
PrintServer

Tiskový server, který je hostitelem tiskové fronty.

printQueueName
String

Název tiskové fronty.

printSchemaVersion
Int32

Verze schématu tisku, která se má použít.

Poznámky

PrintQueue konstruktory, které nezahrnují PrintSystemDesiredAccess výchozí parametr pro UsePrinter přístup.

Verze Print Schema vydaná s Windows Vista je 1.

Platí pro

PrintQueue(PrintServer, String, PrintQueueIndexedProperty[])

Inicializuje novou instanci PrintQueue třídy pomocí zadaného PrintServernázvu fronty a pole PrintQueueIndexedProperty hodnot k inicializaci.

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())

Parametry

printServer
PrintServer

Tiskový server, který je hostitelem tiskové fronty.

printQueueName
String

Název tiskové fronty.

propertyFilter
PrintQueueIndexedProperty[]

Pole PrintQueueIndexedProperty hodnot, které určuje hodnoty vlastností, které se mají inicializovat.

Poznámky

PrintQueue konstruktory, které nezahrnují PrintSystemDesiredAccess výchozí parametr pro UsePrinter přístup.

Použití konstruktoru s parametrem propertyFilter zlepšuje výkon.

Platí pro

PrintQueue(PrintServer, String, PrintSystemDesiredAccess)

Inicializuje novou instanci třídy pomocí zadaného PrintQueuenázvu fronty a požadovaného PrintServer přístupu.

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)

Parametry

printServer
PrintServer

Tiskový server, který je hostitelem tiskové fronty.

printQueueName
String

Název tiskové fronty.

desiredAccess
PrintSystemDesiredAccess

Jedna z PrintSystemDesiredAccess hodnot, které určují typ přístupu k tiskové frontě, kterou váš program potřebuje.

Výjimky

desiredAccess je hodnota, kterou lze použít pouze u objektu PrintServer , nikoli objektu PrintQueue . Například: AdministrateServer.

Platí pro

PrintQueue(PrintServer, String, String[])

Inicializuje novou instanci PrintQueue třídy pomocí zadaného PrintServernázvu fronty a pole názvů vlastností k inicializaci.

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())

Parametry

printServer
PrintServer

Tiskový server, který je hostitelem tiskové fronty.

printQueueName
String

Název tiskové fronty.

propertyFilter
String[]

Pole názvů vlastností, které se mají inicializovat.

Poznámky

PrintQueue konstruktory, které nezahrnují PrintSystemDesiredAccess výchozí parametr pro UsePrinter přístup.

Použití konstruktoru s parametrem propertyFilter zlepšuje výkon.

Platí pro

PrintQueue(PrintServer, String, Int32, PrintSystemDesiredAccess)

Inicializuje novou instanci PrintQueue třídy pomocí zadaného PrintServernázvu fronty, verze schématu tisku a požadovaného přístupu.

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)

Parametry

printServer
PrintServer

Tiskový server, který je hostitelem tiskové fronty.

printQueueName
String

Název tiskové fronty.

printSchemaVersion
Int32

Verze schématu tisku, která se má použít.

desiredAccess
PrintSystemDesiredAccess

Jedna z PrintSystemDesiredAccess hodnot, které určují typ přístupu k tiskové frontě, kterou váš program potřebuje.

Výjimky

desiredAccess je hodnota, kterou lze použít pouze u objektu PrintServer , nikoli objektu PrintQueue . Například: AdministrateServer.

Poznámky

Verze Print Schema vydaná s Windows Vista je 1.

Platí pro

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

Inicializuje novou instanci PrintQueue třídy se zadaným PrintServernázvem fronty, polem PrintQueueIndexedProperty hodnot pro inicializaci a požadovaným přístupem.

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)

Parametry

printServer
PrintServer

Tiskový server, který je hostitelem tiskové fronty.

printQueueName
String

Název tiskové fronty.

propertyFilter
PrintQueueIndexedProperty[]

Pole PrintQueueIndexedProperty hodnot, které určuje vlastnosti, které se mají inicializovat.

desiredAccess
PrintSystemDesiredAccess

Jedna z PrintSystemDesiredAccess hodnot, které určují typ přístupu k tiskové frontě, kterou váš program potřebuje.

Výjimky

desiredAccess je hodnota, kterou lze použít pouze u objektu PrintServer , nikoli objektu PrintQueue . Například: AdministrateServer.

Poznámky

Použití konstruktoru s parametrem propertyFilter zlepšuje výkon.

Platí pro

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

Inicializuje novou instanci třídy pomocí zadaného PrintQueuenázvu fronty, filtru vlastností a požadovaného PrintServer přístupu.

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)

Parametry

printServer
PrintServer

Tiskový server, který je hostitelem tiskové fronty.

printQueueName
String

Název tiskové fronty.

propertyFilter
String[]

Pole názvů vlastností, které se mají inicializovat.

desiredAccess
PrintSystemDesiredAccess

Jedna z PrintSystemDesiredAccess hodnot, které určují typ přístupu k tiskové frontě, kterou váš program potřebuje.

Výjimky

desiredAccess je hodnota, kterou lze použít pouze u objektu PrintServer , nikoli objektu PrintQueue . Například: AdministrateServer.

Poznámky

Použití konstruktoru s parametrem propertyFilter zlepšuje výkon.

Platí pro