PrintQueue 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
PrintQueue 클래스의 새 인스턴스를 초기화합니다.
오버로드
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액세스할 매개 변수 기본값 PrintSystemDesiredAccess 을 UsePrinter 포함하지 않는 생성자입니다.
적용 대상
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액세스할 매개 변수 기본값 PrintSystemDesiredAccess 을 UsePrinter 포함하지 않는 생성자입니다.
Windows Vista 함께 릴리스된 Print 스키마 버전은 "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액세스할 매개 변수 기본값 PrintSystemDesiredAccess 을 UsePrinter 포함하지 않는 생성자입니다.
매개 변수와 함께 생성자를 사용하면 성능이 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액세스할 매개 변수 기본값 PrintSystemDesiredAccess 을 UsePrinter 포함하지 않는 생성자입니다.
매개 변수와 함께 생성자를 사용하면 성능이 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 함께 릴리스된 Print 스키마 버전은 "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 향상됩니다.