glimport
This page is specific to:.NET Framework Version:2.03.54.0
Visual Studio Team System
glimport

Use the glimport command to import global lists from an XML file to a team project on Team Foundation Server. If you try to import a global list that already exists in the specified team project, a warning prompt asks if you want to overwrite the existing global list. If a global list does not already exist, a new one will be created. For more information about global lists, see Global Lists.

The glimport command-line utility is located in DriveLetter:\Program Files\Visual Studio 9.0\Common7\IDE on Team Explorer client computer.

Required Permissions

To use the glimport command, you must be a member of the Team Foundation Administrators security group or the Project Administrators security group. For more information, see Team Foundation Server Permissions and Team Foundation Server Default Groups, Permissions, and Roles.

NoteNote:

Even if you are logged on with administrative credentials, you must open an elevated Command Prompt to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt, click Start, right-click Command Prompt, and click Run as Administrator. For more information, see the Microsoft Web site.

glimport /f filepath /t tfs [/e encodingname]
Parameters

Parameter

Description

/f filepath

The path to the global lists XML definition file to be imported.

NoteNote:
If you are running Windows Vista, you might not have access rights to certain folders. If you try to export the global list to a location where you do not have access rights, the registry virtualization technology automatically redirects the exported file and saves it to the virtual store. For more information, see http://go.microsoft.com/fwlink/?LinkId=92325 and http://go.microsoft.com/fwlink/?LinkId=92323. To avoid this redirection, you can export the file to a location where you have access rights.

/t tfs

The computer name of the Team Foundation server from which the global lists will be imported, or a fully specified URL for a Team Foundation server.

/e encodingname

The name of a .NET Framework 2.0 encoding format. The specified encoding will be used to import the global lists XML. By default, if this argument is not specified, glimport uses UTF-8 encoding.

/?

Displays the glimport context help.

Examples

The following example reads the file named mygloballists.xml and imports it to the Team Foundation server named AdventureWorksServer. The example imports the global lists using the default UTF-8 encoding.

>glimport /f mygloballists.xml /t AdventureWorksServer

The following example shows how to use a URL instead of a Team Foundation server name. The example imports the global lists using the default UTF-8 encoding and the default 8080 port configuration.

>glimport /f mygloballists.xml /t http://TFS:8080

The following example imports the global lists using Unicode (UTF-7) encoding.

>glimport /f mygloballists.xml /t AdventureWorksServer /e utf-7
See Also

Tasks

Reference

Other Resources

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View