다음을 통해 공유


IShellDispatch.FindComputer 메서드

검색 결과: 컴퓨터 대화 상자를 표시합니다. 대화 상자에는 지정된 컴퓨터에 대한 검색 결과가 표시됩니다.

구문

IShellDispatch.FindComputer()

IShellDispatch.FindComputer()

매개 변수

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

반환 값

JScript

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

VB

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

설명

이 메서드는 Shell.FindComputer 메서드를 통해 구현되고 액세스됩니다.

예제

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

Jscript:

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

Vbscript:

 <script language="VBScript">
    function fnShellFindComputerVB()
        dim objShell
        dim ssfWINDOWS
        ssfWINDOWS = 36

        set objShell = CreateObject("shell.application")
        objshell.FindComputer

        set objShell = nothing
    end function
 </script>

Visual Basic:

Private Sub fnShellFindComputerVB()
    Dim objShell As Shell

    Set objShell = New Shell
    objshell.FindComputer

    Set objShell = Nothing
End Sub

요구 사항

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