PrintServerLoggingProperty Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PrintServerLoggingProperty class.
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. |
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
.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 |
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
.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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: