This documentation is archived and is not being maintained.
ITeamProjectCollectionServicing::DisableServicing Method (String, String)
Visual Studio 2013
Disables creation and servicing of team project collections, and waits for in-progress servicing to complete. If servicing is already disabled, simply returns false.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Parameters
- reason
- Type: System::String
A short description of why servicing is being disabled. Used for exceptions on servicing attempts.
- processIdentifier
- Type: System::String
A String uniquely identifying the calling process to aid investigation by an administrator. For example: "Machine: MYBOX; ProcessName: Upgrade.exe; PID: 1234; User: jdoe"
Return Value
Type: System::BooleanTrue if servicing was previously enabled. False if servicing was already disabled.
- 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.
Show: