Editar

Compartir a través de


ServiceControllerPermissionAttribute.ServiceName Property

Definition

Gets or sets the short name that identifies the service to the system.

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

Property Value

The name of the service.

Exceptions

The syntax of the ServiceName property is invalid.

Applies to