共用方式為


ServiceHostFilterFlags Enumeration

Used to define the set of information that is required when you call QueryServiceHostProperties.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ServiceHostFilterFlags
[FlagsAttribute]
public enum ServiceHostFilterFlags
[FlagsAttribute]
public enum class ServiceHostFilterFlags
[<FlagsAttribute>]
type ServiceHostFilterFlags
public enum ServiceHostFilterFlags

Members

Member name Description
IncludeActiveServicingDetails

IncludeAllServicingDetails

IncludeChildren Children of this host will be returned if this host contains children. This only applies to the ApplicationServiceHostand will be ignored for collections.

IncludeCompletedServicingDetails

IncludeProcessDetails Includes information about the processes that are running and the state of the hosts within these processes. This allows the caller to understand who is actively processing requests for hosts.This flag cannot be used with QueryServiceHostProperties. It is used internally with QueryExecutionState. It will be ignored if passed to QueryServiceHostProperties.

IncludeQueuedServicingDetails Includes the details about the hosts that have active servicing operations. If any servicing detail flags are specified, the call will return un-registered hosts.Depending on which servicing detail flags are set, the call will return servicing operations of a given state.

IncludeRunningServicingDetails

None No extra data will be returned, only the basic service properties.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace