This documentation is archived and is not being maintained.

BuildServerExtensions.SetSourceProvider Method

Visual Studio 2013

This extension method should no longer be used. It is here for backwards compatibility only.

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

public static void SetSourceProvider(
	this IBuildDefinition definition,
	IBuildDefinitionSourceProvider sourceProvider

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IBuildDefinition. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).