다음을 통해 공유


IShellDispatch4.WindowsSecurity 메서드

Windows 보안 대화 상자를 표시합니다.

구문

IShellDispatch4.WindowsSecurity()

IShellDispatch4.WindowsSecurity()

매개 변수

이 메서드에는 매개 변수가 없습니다.

반환 값

JScript

이 메서드는 값을 반환하지 않습니다.

VB

이 메서드는 값을 반환하지 않습니다.

설명

이 메서드는 Ctrl+Alt+DELETE를 누르거나 시작 메뉴의 보안 옵션을 사용한 후 표시되는 대화 상자를 표시합니다.

참고

이 메서드는 터미널 세션에서 Microsoft 터미널 서버에 연결된 경우에만 사용할 수 있습니다.

 

예제

다음 예제에서는 JScript, VBScript 및 Visual Basic에 WindowsSecurity 를 사용하는 것을 보여 줍니다.

Jscript:

<script language="JScript">
     function fnIShellDispatch4WindowsSecurityJ()
    {
        var objShell = new ActiveXObject("shell.application");
        
        objshell.WindowsSecurity();
    }
</script>

Vbscript:

<script language="VBScript">
     function fnIShellDispatch4WindowsSecurityVB()
        dim objShell
        
        set objShell = CreateObject("shell.application")
            objshell.WindowsSecurity
        set objShell = nothing
    end function
 </script>

Visual Basic:

Private Sub fnIShellDispatch4WindowsSecurityVB()
    Dim objShell As Shell
    
    Set objShell = New Shell
        objshell.WindowsSecurity
    Set objShell = Nothing
End Sub

요구 사항

요구 사항
지원되는 최소 클라이언트
Windows XP [데스크톱 앱만 해당]
지원되는 최소 서버
Windows Server 2003 [데스크톱 앱만 해당]
헤더
Shldisp.h
IDL
Shldisp.idl
DLL
Shell32.dll(버전 6.0 이상)