PrintServerLoggingProperty Constructors
Definition
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.
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".