PrintServerLoggingProperty Constructors

Definition

Initializes a new instance of the PrintServerLoggingProperty class.

Overloads

PrintServerLoggingProperty(String)

Initializes a new instance of the PrintServerLoggingProperty class for the specified property.

PrintServerLoggingProperty(String, Object)

Initializes a new instance of the PrintServerLoggingProperty class that has the specified value for the specified property.

PrintServerLoggingProperty(String)

Initializes a new instance of the PrintServerLoggingProperty class for the specified property.

C#
public PrintServerLoggingProperty(string attributeName);

Parameters

attributeName
String

The name of the PrintServerEventLoggingTypes property that the PrintServerLoggingProperty represents.

Remarks

The attributeName should be spelled exactly the same as the name of some particular PrintServerEventLoggingTypes property of a print system object, including casing. For example, the EventLog property of a PrintServer object must be spelled "EventLog", not "Events" or "Eventlog".

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

PrintServerLoggingProperty(String, Object)

Initializes a new instance of the PrintServerLoggingProperty class that has the specified value for the specified property.

C#
public PrintServerLoggingProperty(string attributeName, object attributeValue);

Parameters

attributeName
String

The name of the PrintServerEventLoggingTypes property that the PrintServerLoggingProperty represents.

attributeValue
Object

The value of the property that the PrintServerLoggingProperty represents.

Remarks

The attributeName should be spelled exactly the same as the name of some particular PrintServerEventLoggingTypes property of a print system object, including casing. For example, the EventLog property of a PrintServer object must be spelled "EventLog", not "Events" or "Eventlog".

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10