Parameters Extent (System_Runtime Module)
[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 extent.
Column | Type | Required | Description |
---|---|---|---|
Folder |
yes |
The Modeling Services Folder that is associated with the parameter. |
|
Id |
Integer64 |
yes |
The identifier of the parameter. |
Method |
yes |
The method that contains the parameter. |
|
Name |
Text |
The name of the parameter. |
|
Position |
Integer32 |
yes |
The zero-based index of the position of the parameter within the method declaration. |
Type |
yes |
The type signature of the parameter. |
|
DefaultValue |
Text |
The default value for the parameter. |
|
IsByReference |
Logical |
yes |
A bit flag that specifies that the parameter is passed by reference. |
IsInParameter |
Logical |
yes |
A bit flag that specifies that a parameter value is sent into the method. |
IsOutParameter |
Logical |
yes |
A bit flag that specifies that the parameter value is set by the method. |
IsOptional |
Logical |
yes |
A bit flag that specifies that the parameter is optional. |
IsModified |
Logical |
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 |
Logical |
yes |
A big flag that indicates that the parameter takes a variable number of arguments (e.g., the params keyword in C#). |
MarshaledAs |
Text |
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 |
Text |
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 |
Integer32 |
The index to the parameter in the method that provides the number of elements in a marshaled ECMA-335 native array (LPArray). |
|
MarshaledArraySizeConst |
Integer32 |
The size of a marshaled array specified as a literal value. This value applies only to marshaled array parameters with a predetermined size. |
Remarks
To work with this extent in the SQL Server Modeling Services, see Parameters Table (System_Runtime Schema).