AdsCreateFTSIndex Function | |
See the ADS documentation for more information about this function.
Namespace:
XSharp.RDD
Assembly:
XSharp.Rdd (in XSharp.Rdd.dll) Version: 2.21
Syntax FUNCTION AdsCreateFTSIndex(
hTable AS IntPtr,
strFileName AS STRING,
strTag AS STRING,
strField AS STRING,
ulPageSize AS DWORD,
ulMinWordLen AS DWORD,
ulMaxWordLen AS DWORD,
usUseDefaultDelim AS WORD,
strDelimiters AS STRING,
usUseDefaultNoise AS WORD,
strNoiseWords AS STRING,
usUseDefaultDrop AS WORD,
strDropChars AS STRING,
usUseDefaultConditionals AS WORD,
strConditionalChars AS STRING,
strReserved1 AS STRING,
strReserved2 AS STRING,
ulOptions AS DWORD
) AS DWORD
public static uint AdsCreateFTSIndex(
IntPtr hTable,
string strFileName,
string strTag,
string strField,
uint ulPageSize,
uint ulMinWordLen,
uint ulMaxWordLen,
ushort usUseDefaultDelim,
string strDelimiters,
ushort usUseDefaultNoise,
string strNoiseWords,
ushort usUseDefaultDrop,
string strDropChars,
ushort usUseDefaultConditionals,
string strConditionalChars,
string strReserved1,
string strReserved2,
uint ulOptions
)
Request Example
View SourceParameters
- hTable
- Type: IntPtr
- strFileName
- Type: String
- strTag
- Type: String
- strField
- Type: String
- ulPageSize
- Type: DWord
- ulMinWordLen
- Type: DWord
- ulMaxWordLen
- Type: DWord
- usUseDefaultDelim
- Type: Word
- strDelimiters
- Type: String
- usUseDefaultNoise
- Type: Word
- strNoiseWords
- Type: String
- usUseDefaultDrop
- Type: Word
- strDropChars
- Type: String
- usUseDefaultConditionals
- Type: Word
- strConditionalChars
- Type: String
- strReserved1
- Type: String
- strReserved2
- Type: String
- ulOptions
- Type: DWord
Return Value
Type:
DWordAll methods in the Advantage Client Engine return either 0 for success or an error code.
Most of the error numbers are defined in the AceError enumeration.
You can call AdsGetLastError() to retrieve the message for the error code.
Remarks This function calls the method with the same name in the Avantage Client Engine.
Some important differences between the ADS API in Visual Objects and the ADS API in X#
Handles |
In Visual Objects the handles (Table Handle, Index Handle, Connection Handle etc) are declared as DWORD.
In X# they are declared as IntPtr since the size can be 32 bits when the application is running in 32 bit mode but 64 bits when the application is running in 64 bits mode.
|
String parameters |
In Visual Objects the string parameters are all declared as PSZ. In X# you can use normal strings. The .Net runtime takes care of the conversions between managed unicode strings and unmanaged native Ansi strings.
|
See Also