Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Determine Location Within DTS Package

    Here you have a nice solution, works fine!

    Function Main()

     Set WshNetwork = WScript.CreateObject("WScript.Network")

     MsgBox("Domain = " & WshNetwork.UserDomain)

     MsgBox("Computer Name = " & WshNetworkComputerName)

    Main = DTSTaskExecResult_Success

    End Function

     

    /Henrik

Viewing post 1 (of 1 total)