PrintQueue.InPartialTrust Property

 

Gets or sets a value that indicates whether the queue is operating in a partially trusted mode, a higher level of trust.

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)

public bool InPartialTrust {
	[SecurityCriticalAttribute]
	get;
	[SecurityCriticalAttribute]
	set;
}

Property Value

Type: System.Boolean

true if the queue is operating in a partially trusted mode; otherwise, false.

When the InPartialTrust property is true, your program cannot create a PrintQueue object that represents this printer unless the user has full printing permissions for the printer.

.NET Framework
Available since 3.0
Return to top
Show: