共用方式為


DirectoryServicesPermissionAttribute(SecurityAction) 建構函式

定義

初始化 DirectoryServicesPermissionAttribute(SecurityAction) 類別的新執行個體。

public:
 DirectoryServicesPermissionAttribute(System::Security::Permissions::SecurityAction action);
public DirectoryServicesPermissionAttribute (System.Security.Permissions.SecurityAction action);
new System.DirectoryServices.DirectoryServicesPermissionAttribute : System.Security.Permissions.SecurityAction -> System.DirectoryServices.DirectoryServicesPermissionAttribute
Public Sub New (action As SecurityAction)

參數

action
SecurityAction

其中一個 SecurityAction 值。

適用於

另請參閱