C# Class TfsApi.Administration.TeamProjectCollections

Inheritance: ITeamProjectCollections
Mostra file Open project: Gordon-Beeming/Tfs-Api Class Usage Examples

Public Properties

Property Type Description
_tfsUri System.Uri

Public Methods

Method Description
CollectionExists ( string collectionName ) : bool
CreateProjectCollection ( string name, string description, eSharePointActions sharePointAction = eSharePointActions.None, string sharePointServerHash = null, string sharePointSitePath = null, eReportingActions reportingAction = eReportingActions.None, string reportServerHash = null, string reportFolderPath = null ) : void
DeleteProjectCollection ( string teamProjectCollection ) : void

Deletes the project collection. More Info : http://msdn.microsoft.com/en-us/library/vstudio/ee349263.aspx

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetProjectCollectionSharepointUri ( string collectionName ) : Uri
ListCollections ( ) : List
TeamProjectCollections ( Uri tfsUri, ITfsCredentials tfsCredentials ) : System

Private Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Method Details

CollectionExists() public method

public CollectionExists ( string collectionName ) : bool
collectionName string
return bool

CreateProjectCollection() public method

public CreateProjectCollection ( string name, string description, eSharePointActions sharePointAction = eSharePointActions.None, string sharePointServerHash = null, string sharePointSitePath = null, eReportingActions reportingAction = eReportingActions.None, string reportServerHash = null, string reportFolderPath = null ) : void
name string
description string
sharePointAction eSharePointActions
sharePointServerHash string
sharePointSitePath string
reportingAction eReportingActions
reportServerHash string
reportFolderPath string
return void

DeleteProjectCollection() public method

Deletes the project collection. More Info : http://msdn.microsoft.com/en-us/library/vstudio/ee349263.aspx
There was an error Deleting the team project ' + teamProjectName + '.\n\n + error
public DeleteProjectCollection ( string teamProjectCollection ) : void
teamProjectCollection string The team project collection.
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

GetProjectCollectionSharepointUri() public method

public GetProjectCollectionSharepointUri ( string collectionName ) : Uri
collectionName string
return System.Uri

ListCollections() public method

public ListCollections ( ) : List
return List

TeamProjectCollections() public method

public TeamProjectCollections ( Uri tfsUri, ITfsCredentials tfsCredentials ) : System
tfsUri System.Uri
tfsCredentials ITfsCredentials
return System

Property Details

_tfsUri public_oe property

public Uri,System _tfsUri
return System.Uri