BuildDropProvider.Create Method (TfsTeamProjectCollection, String)
Creates an appropriate provider implementation based on the specified path.
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public Shared Function Create ( _
collection As TfsTeamProjectCollection, _
path As String _
) As BuildDropProvider
public static BuildDropProvider Create(
TfsTeamProjectCollection collection,
string path
)
public:
static BuildDropProvider^ Create(
TfsTeamProjectCollection^ collection,
String^ path
)
static member Create :
collection:TfsTeamProjectCollection *
path:string -> BuildDropProvider
public static function Create(
collection : TfsTeamProjectCollection,
path : String
) : BuildDropProvider
Parameters
collection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionThe project collection to use for version control paths
path
Type: System.StringThe destination path which should be used to determine the drop provider
Return Value
Type: Microsoft.TeamFoundation.Build.Workflow.Activities.BuildDropProvider
A drop provider implementation for the configured drop location
.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.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace