ITeamProjectCollectionServicing.DisableServicing Method (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)
Syntax
'Declaration
Function DisableServicing ( _
reason As String _
) As Boolean
bool DisableServicing(
string reason
)
bool DisableServicing(
String^ reason
)
abstract DisableServicing :
reason:string -> bool
function DisableServicing(
reason : String
) : boolean
Parameters
reason
Type: System.StringA short description of why servicing is being disabled. Used for exceptions on servicing attempts.
Return Value
Type: System.Boolean
True if servicing was previously enabled. False if servicing was already disabled.
Remarks
A processIdentifier String is generated and sent with this request. (See overload.)
.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.