다음을 통해 공유


SqlClientFactory.CreatePermission(PermissionState) 메서드

정의

CodeAccessPermission 를 반환합니다.

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

매개 변수

state
PermissionState

PermissionState 열거형의 멤버입니다.

반환

강력한 형식의 인스턴스입니다 CodeAccessPermission .

적용 대상