Gets the short name of the Service used to identify it to the system.
[Visual Basic] Overridable Public Property ServiceName As String [C#] public string ServiceName {virtual get; virtual set;} [C++] public: __property virtual String* get_ServiceName(); public: __property virtual void set_ServiceName(String*); [JScript] public function get ServiceName() : String; public function set ServiceName(String);
a string representing the name.
ServiceBase Class | ServiceBase Members | System.ServiceProcess Namespace