Export (0) Print
Expand All

ITeamProjectCollectionServicing.DisableServicing Method (String, String)

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)

bool DisableServicing(
	string reason,
	string processIdentifier


Type: System.String

A short description of why servicing is being disabled. Used for exceptions on servicing attempts.

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.Boolean
True if servicing was previously enabled. False if servicing was already disabled.

© 2014 Microsoft