打印本文 打印本文 关闭窗口 关闭窗口
vb.net枚举网络中所有的SQL 2000服务器
作者:武汉SEO闵涛  文章来源:敏韬网  点击数6911  更新时间:2007/11/14 13:11:23  文章录入:mintao  责任编辑:mintao

 调用代码

 调用代码

    Sub GetSqlServers()

        Me.Cursor = Cursors.WaitCursor

        Dim a As ArrayList

        Dim g As New GetServers

        a = g.Send()

        For Each c As SqlServer In a

            Me.cb_Server.Items.Add(c)

        Next

        Me.Cursor = Cursors.Default

    End Sub


    Sub GetSqlServers()

        Me.Cursor = Cursors.WaitCursor

        Dim a As ArrayList

        Dim g As New GetServers

        a = g.Send()

        For Each c As SqlServer In a

            Me.cb_Server.Items.Add(c)

        Next

上一页  [1] [2] [3] [4] [5] [6] [7]  下一页

打印本文 打印本文 关闭窗口 关闭窗口