The following tables list the members exposed by TemplateVariable.
Name | Description | |
---|---|---|
TemplateVariable Constructor | Overloaded. |
Name | Description | |
---|---|---|
AllowAll | Can return all values for this select variable. | |
AllowedValues | The allowed values for this var. Can be length 0 (which means anything is allowed OR the list was too long). | |
AllowFilter | Can set a filter for values for this select variable. | |
AllowList | Can return a list of values for this select variable. | |
AllowSort | Can sort values for this select variable. | |
AutoMetadata | If this is an auto-select, this is the metadata for the select. For SQL this is [dbo.]table.column using the raw values (no surrounding spaces) and for XML it is the full XPath to that node. | |
CalOffset | The date default value can be set to a calendar offset. | |
Datasource | The name of the datasource for the select. | |
DefaultValues | The default values for this var. Can be length 0 (which means no default). | |
Description | The description of this variable. This is optional. | |
Name | The name of the variable. | |
Required | true if this variable must be set. | |
Select | The Select for this var if a select var. null if not a select var. | |
SelectFormat | The Select format for this var if a select var. null if not a select var. | |
UdtGuid | If this is from a UDT it optionally has the GUID of the UDT item. | |
VarType | What type of data this variable is. |
Name | Description | |
---|---|---|
ConvertToVarType | Convert a DbType to the matching VAR_TYPE | |
FromXml | Read the xml stored with the template to get all vars. | |
GetValue | Convert a string to the requested object type. | |
SingleFromXml | Builds a TemplateVar from xml. | |
ToXml | Overloaded. Write out the xml for this var. |