OdbcFactory.CreatePermission(PermissionState) OdbcFactory.CreatePermission(PermissionState) OdbcFactory.CreatePermission(PermissionState) OdbcFactory.CreatePermission(PermissionState) Method

定義

厳密に型指定された CodeAccessPermission インスタンスを返します。Returns a strongly-typed CodeAccessPermission instance.

public:
 override System::Security::CodeAccessPermission ^ CreatePermission(System::Security::Permissions::PermissionState state);
public override System.Security.CodeAccessPermission CreatePermission (System.Security.Permissions.PermissionState state);
override this.CreatePermission : System.Security.Permissions.PermissionState -> System.Security.CodeAccessPermission
Public Overrides Function CreatePermission (state As PermissionState) As CodeAccessPermission

パラメーター

state
PermissionState PermissionState PermissionState PermissionState

PermissionState 列挙体のメンバー。A member of the PermissionState enumeration.

戻り値

CodeAccessPermission の新しい厳密に型指定されたインスタンス。A new strongly-typed instance of CodeAccessPermission.

適用対象