共用方式為


WindowsServiceLifetimeOptions.ServiceName 屬性

定義

用來識別系統服務的名稱。

public:
 property System::String ^ ServiceName { System::String ^ get(); void set(System::String ^ value); };
public string ServiceName { get; set; }
member this.ServiceName : string with get, set
Public Property ServiceName As String

屬性值

適用於