This documentation is archived and is not being maintained.

RelativeToSetting Enumeration

Indicates what a given ServiceDefinition is relative to.

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

public enum RelativeToSetting

Member nameDescription
ContextIndicates 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.

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

WebApplicationIndicates 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.

Show: