ServiceControllerPermissionEntryCollection.AddRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Appends a set of specified permission entries to this collection.
Overloads
AddRange(ServiceControllerPermissionEntry[]) |
Appends a set of specified permission entries to this collection. |
AddRange(ServiceControllerPermissionEntryCollection) |
Appends a set of specified permission entries to this collection. |
AddRange(ServiceControllerPermissionEntry[])
Appends a set of specified permission entries to this collection.
public:
void AddRange(cli::array <System::ServiceProcess::ServiceControllerPermissionEntry ^> ^ value);
public void AddRange (System.ServiceProcess.ServiceControllerPermissionEntry[] value);
member this.AddRange : System.ServiceProcess.ServiceControllerPermissionEntry[] -> unit
Public Sub AddRange (value As ServiceControllerPermissionEntry())
Parameters
- value
- ServiceControllerPermissionEntry[]
An array of type ServiceControllerPermissionEntry objects that contains the permission entries to add.
Exceptions
value
is null
.
Applies to
AddRange(ServiceControllerPermissionEntryCollection)
Appends a set of specified permission entries to this collection.
public:
void AddRange(System::ServiceProcess::ServiceControllerPermissionEntryCollection ^ value);
public void AddRange (System.ServiceProcess.ServiceControllerPermissionEntryCollection value);
member this.AddRange : System.ServiceProcess.ServiceControllerPermissionEntryCollection -> unit
Public Sub AddRange (value As ServiceControllerPermissionEntryCollection)
Parameters
A ServiceControllerPermissionEntryCollection that contains the permission entries to add.
Exceptions
value
is null
.
Applies to
.NET