Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deploys the passed in Build Process Template XAML to the File Container Service. It will create a new File Container and Container Item if necessary, then upload the file.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function DeployTemplateToTfs ( _
requestContext As TeamFoundationRequestContext, _
templateXaml As String, _
serverPath As String, _
fileName As String _
) As String
public string DeployTemplateToTfs(
TeamFoundationRequestContext requestContext,
string templateXaml,
string serverPath,
string fileName
)
public:
String^ DeployTemplateToTfs(
TeamFoundationRequestContext^ requestContext,
String^ templateXaml,
String^ serverPath,
String^ fileName
)
member DeployTemplateToTfs :
requestContext:TeamFoundationRequestContext *
templateXaml:string *
serverPath:string *
fileName:string -> string
public function DeployTemplateToTfs(
requestContext : TeamFoundationRequestContext,
templateXaml : String,
serverPath : String,
fileName : String
) : String
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
templateXaml
Type: System.StringThe XAML of the Build Process Template to upload
- serverPath
Type: System.String
- fileName
Type: System.String
Return Value
Type: System.String
The server path from the File Container Service of the uploaded file
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.