JAMS Developer Guide
AuditRuleFactory Method (JobSecurity)


MVPSI.JAMS Namespace > JobSecurity Class : AuditRuleFactory Method
Creates a JobAuditRule.
Syntax
'Declaration
 
Public Overrides NotOverridable Function AuditRuleFactory( _
   ByVal identityReference As System.Security.Principal.IdentityReference, _
   ByVal accessMask As System.Integer, _
   ByVal isInherited As System.Boolean, _
   ByVal inheritanceFlags As System.Security.AccessControl.InheritanceFlags, _
   ByVal propagationFlags As System.Security.AccessControl.PropagationFlags, _
   ByVal flags As System.Security.AccessControl.AuditFlags _
) As System.Security.AccessControl.AuditRule
'Usage
 
Dim instance As JobSecurity
Dim identityReference As System.Security.Principal.IdentityReference
Dim accessMask As System.Integer
Dim isInherited As System.Boolean
Dim inheritanceFlags As System.Security.AccessControl.InheritanceFlags
Dim propagationFlags As System.Security.AccessControl.PropagationFlags
Dim flags As System.Security.AccessControl.AuditFlags
Dim value As System.Security.AccessControl.AuditRule
 
value = instance.AuditRuleFactory(identityReference, accessMask, isInherited, inheritanceFlags, propagationFlags, flags)
public override System.Security.AccessControl.AuditRule AuditRuleFactory( 
   System.Security.Principal.IdentityReference identityReference,
   System.int accessMask,
   System.bool isInherited,
   System.Security.AccessControl.InheritanceFlags inheritanceFlags,
   System.Security.AccessControl.PropagationFlags propagationFlags,
   System.Security.AccessControl.AuditFlags flags
)

Parameters

identityReference
accessMask
isInherited
inheritanceFlags
propagationFlags
flags
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JobSecurity Class
JobSecurity Members