Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Tools.dll Namespace: Microsoft.OData.Mcp.Tools.Commands Inheritance: System.Object

Syntax

Summary

Command to start the OData MCP server.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

AuthToken

Gets or sets the authentication token.

Syntax

Property Value

Type: string?

Url

Gets or sets the OData service URL.

Syntax

Property Value

Type: string?

Verbose

Gets or sets whether to enable verbose logging.

Syntax

Property Value

Type: bool

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

OnExecuteAsync

Executes the start command.

Syntax

Returns

Type: System.Threading.Tasks.Task<int> Exit code.

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?