Partager via


RelativeToSetting Enumeration

Indicates what a given ServiceDefinition is relative to.

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

Syntax

'Declaration
Public Enumeration RelativeToSetting
public enum RelativeToSetting
public enum class RelativeToSetting
type RelativeToSetting
public enum RelativeToSetting

Members

Member name Description
Context Indicates that a service definition is relative to the current context.The current context refers to the relative path of the collection or application that the [ServiceDefinition] belongs to. For a [ServiceDefinition] to have a [RelativeToSetting] of Context its [RelativePath] property must not be null or empty.

FullyQualified Indicates that a [ServiceDefinition] is not relative to anything. For a [ServiceDefinition] to have a [RelativeToSetting] of [FullyQualified], its [RelativePath] property must be null.

WebApplication Indicates that a [ServiceDefinition] is relative to the web application.For a [ServiceDefinition] to have a [RelativeToSetting] of [WebApplication], its [RelativePath] property must not be null or empty.

See Also

Reference

Microsoft.TeamFoundation.Framework.Common Namespace