PipeSecurity.ResetAccessRule(PipeAccessRule) 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.
Removes all access rules in the Discretionary Access Control List (DACL) that is associated with the current PipeSecurity object and then adds the specified access rule.
public:
void ResetAccessRule(System::IO::Pipes::PipeAccessRule ^ rule);
public void ResetAccessRule (System.IO.Pipes.PipeAccessRule rule);
override this.ResetAccessRule : System.IO.Pipes.PipeAccessRule -> unit
Public Sub ResetAccessRule (rule As PipeAccessRule)
Parameters
- rule
- PipeAccessRule
The access rule to add.
Exceptions
The rule
parameter is null
.
Remarks
The ResetAccessRule method adds the specified access control list (ACL) rule or overwrites any identical ACL rules that match the rule
parameter. For example, if the rule
parameter specifies a Read value and the ResetAccessRule method finds an identical ACL rule that specifies the Read value, the identical rule will be overwritten. If the ResetAccessRule method finds an identical ACL rule that specifies the Write value, the identical rule will also be overwritten.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om