次の方法で共有


ServiceControllerPermissionEntry.ServiceName プロパティ

システムでサービスを識別するための短い名前を取得します。

Public ReadOnly Property ServiceName As String
[C#]
public string ServiceName {get;}
[C++]
public: __property String* get_ServiceName();
[JScript]
public function get ServiceName() : String;

プロパティ値

サービスの名前。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ServiceControllerPermissionEntry クラス | ServiceControllerPermissionEntry メンバ | System.ServiceProcess 名前空間