共用方式為


IProjectCreation.BatchCreateTeamProject Method

Creates team projects from a batch file instead of from project creation wizard.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'宣告
Function BatchCreateTeamProject ( _
    teamProjectCreationSettingFile As String, _
    <OutAttribute> ByRef logFileFullPath As String _
) As Boolean
bool BatchCreateTeamProject(
    string teamProjectCreationSettingFile,
    out string logFileFullPath
)
bool BatchCreateTeamProject(
    String^ teamProjectCreationSettingFile, 
    [OutAttribute] String^% logFileFullPath
)
abstract BatchCreateTeamProject : 
        teamProjectCreationSettingFile:string * 
        logFileFullPath:string byref -> bool 
function BatchCreateTeamProject(
    teamProjectCreationSettingFile : String, 
    logFileFullPath : String
) : boolean

Parameters

  • teamProjectCreationSettingFile
    Type: System.String
    The path of the settings file.
  • logFileFullPath
    Type: System.String%
    The path of the log file for the creation process.

Return Value

Type: System.Boolean
True if the batch project creation succeeded; otherwise, false.

.NET Framework Security

See Also

Reference

IProjectCreation Interface

Microsoft.TeamFoundation.Client Namespace