ServiceControllerPermissionEntryCollection.Add 方法

定义

向此集合添加指定的 ServiceControllerPermissionEntry

public:
 int Add(System::ServiceProcess::ServiceControllerPermissionEntry ^ value);
public int Add (System.ServiceProcess.ServiceControllerPermissionEntry value);
member this.Add : System.ServiceProcess.ServiceControllerPermissionEntry -> int
Public Function Add (value As ServiceControllerPermissionEntry) As Integer

参数

返回

Int32

所添加的 ServiceControllerPermissionEntry 对象的从零开始的索引。

适用于