Parameters Table (System_Runtime Schema)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Provides details for method parameters.

Fields

The following table lists the fields in the Parameters table.

Column Type Required Description

Folder

[Repository.Item].[FolderId]

yes

The Modeling Services Folder that is associated with the parameter. References the [Repository.Item].[FoldersTable] view.

Id

bigint

yes

The identifier of the parameter.

Method

bigint

yes

The method that contains the parameter. References the [System_Runtime].[Methods] view.

Name

nvarchar(max)

The name of the parameter.

Position

int

yes

The zero-based index of the position of the parameter within the method declaration.

Type

bigint

yes

The type signature of the parameter. References the [System_Runtime].[TypeSignatures] view.

DefaultValue

nvarchar(max)

The default value for the parameter.

IsByReference

bit

yes

A bit flag that specifies that the parameter is passed by reference.

IsInParameter

bit

yes

A bit flag that specifies that a parameter value is sent into the method.

IsOutParameter

bit

yes

A bit flag that specifies that the parameter value is set by the method.

IsOptional

bit

yes

A bit flag that specifies that the parameter is optional.

IsModified

bit

yes

A bit flag that indicates that the return type has custom modifiers applied to it. If so, there may be corresponding entries in [System_Runtime].[ParameterCustomModifiers].

IsParameterArray

bit

yes

A big flag that indicates that the parameter takes a variable number of arguments (e.g., the params keyword in C#).

MarshaledAs

nvarchar(max)

Specifies what unmanaged type the method parameter should be marshaled as. If a custom marshaler is specified, this field contains the name of the custom marshaler and its cookie.

MarshaledArrayElementType

nvarchar(max)

If the parameter is marshaled as an ECMA-335 native array (LPArray), this will contain its element type, in the same format as MarshaledAs.

MarshaledArraySizeParameterIndex

int

The index to the parameter in the method that provides the number of elements in a marshaled ECMA-335 native array (LPArray).

MarshaledArraySizeConst

int

The size of a marshaled array specified as a literal value. This value applies only to marshaled array parameters with a predetermined size.

Remarks

See Also

Reference

System_Runtime Tables
System_Runtime Schema

Send comments about this topic to Microsoft.