共用方式為


PrintServerLoggingProperty 建構函式

定義

初始化 PrintServerLoggingProperty 類別的新執行個體。

多載

PrintServerLoggingProperty(String)

初始化所指定之屬性之 PrintServerLoggingProperty 類別的新執行個體。

PrintServerLoggingProperty(String, Object)

初始化指定屬性擁有指定值之 PrintServerLoggingProperty 類別的新執行個體。

PrintServerLoggingProperty(String)

初始化所指定之屬性之 PrintServerLoggingProperty 類別的新執行個體。

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)

參數

attributeName
String

PrintServerEventLoggingTypes 表示之 PrintServerLoggingProperty 屬性的名稱。

備註

attributeName應該拼字與列印系統物件之某些特定PrintServerEventLoggingTypes屬性的名稱完全相同,包括大小寫。 例如, EventLog 對象的 屬性 PrintServer 必須拼字為 “EventLog”,而不是 “Events” 或 “Eventlog”。

適用於

PrintServerLoggingProperty(String, Object)

初始化指定屬性擁有指定值之 PrintServerLoggingProperty 類別的新執行個體。

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)

參數

attributeName
String

PrintServerEventLoggingTypes 表示之 PrintServerLoggingProperty 屬性的名稱。

attributeValue
Object

PrintServerLoggingProperty 所表示屬性的值。

備註

attributeName應該拼字與列印系統物件之某些特定PrintServerEventLoggingTypes屬性的名稱完全相同,包括大小寫。 例如, EventLog 對象的 屬性 PrintServer 必須拼字為 “EventLog”,而不是 “Events” 或 “Eventlog”。

適用於