Bewerken

Share via


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.

public:
 PrintServerLoggingProperty(System::String ^ attributeName);
public PrintServerLoggingProperty (string attributeName);
new System.Printing.IndexedProperties.PrintServerLoggingProperty : string -> System.Printing.IndexedProperties.PrintServerLoggingProperty
Public Sub New (attributeName As String)

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

PrintServerLoggingProperty(String, Object)

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

public:
 PrintServerLoggingProperty(System::String ^ attributeName, System::Object ^ attributeValue);
public PrintServerLoggingProperty (string attributeName, object attributeValue);
new System.Printing.IndexedProperties.PrintServerLoggingProperty : string * obj -> System.Printing.IndexedProperties.PrintServerLoggingProperty
Public Sub New (attributeName As String, attributeValue As Object)

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