SemaphoreSecurity.SetAuditRule(SemaphoreAuditRule) 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 audit rules with the same user as the specified rule, regardless of the AuditFlags value, and then adds the specified rule.
public:
void SetAuditRule(System::Security::AccessControl::SemaphoreAuditRule ^ rule);
public void SetAuditRule (System.Security.AccessControl.SemaphoreAuditRule rule);
override this.SetAuditRule : System.Security.AccessControl.SemaphoreAuditRule -> unit
Public Sub SetAuditRule (rule As SemaphoreAuditRule)
Parameters
- rule
- SemaphoreAuditRule
The SemaphoreAuditRule to add. The user specified by this rule determines the rules to remove before this rule is added.
Exceptions
rule
is null
.
Remarks
If there are no audit rules whose user matches the specified rule, rule
is added.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.