AuthorizationRuleCollection.AddRule(AuthorizationRule) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 AuthorizationRule 物件加入集合。
public:
void AddRule(System::Security::AccessControl::AuthorizationRule ^ rule);
public void AddRule (System.Security.AccessControl.AuthorizationRule? rule);
public void AddRule (System.Security.AccessControl.AuthorizationRule rule);
member this.AddRule : System.Security.AccessControl.AuthorizationRule -> unit
Public Sub AddRule (rule As AuthorizationRule)
參數
- rule
- AuthorizationRule
要新增到集合的 AuthorizationRule 物件。