Represents the index-building configuration for the repository. Indexing can be performed by an InTrust server or delegated to InTrust agents in a specific site. Offloading indexing to additional agents can help with InTrust server load balancing.
All this interface does is say what is used for building the index for the repository. If the type of builder is SiteIndexBuilder, then you can configure it by casting IIndexBuilder to ISiteIndexBuilder and working with its methods.
HRESULT Type(
[out, retval] enum IndexBuilderType* pType
);
Name | Type | Meaning |
---|---|---|
pType |
enum IndexBuilderType* |
What resources are used for index building. |
Provides access to the indexing configuration of a repository.
Returns the indexing server for the repository.
HRESULT IndexingServer(
[out, retval] IInTrustServer3** ppIndexingServer
);
Name | Type | Meaning |
---|---|---|
ppIndexingServer |
Indexing server for the repository. |
Sets the specified indexing server for the repository.
HRESULT IndexingServer(
[in] IInTrustServer3* pIndexingServer
);
Name | Type | Meaning |
---|---|---|
pIndexingServer |
Indexing server to set for the repository. |
Provides access to the index-building configuration for the repository. For details, see IIndexBuilder.
HRESULT IndexBuilder(
[in, defaultvalue(CurrentIndexBuilder)] enum IndexBuilderType,
[out, retval] IIndexBuilder** pIndexPathType
);
Name | Type | Meaning |
---|---|---|
|
enum IndexBuilderType |
Selects the method's operation mode:
|
pIndexPathType |
Index-building configuration for the repository. |
Returns the location of the index for the repository.
HRESULT IndexLocation(
[in, defaultvalue(CurrentIndexLocation)] enum IndexLocationType,
[out, retval] IIndexLocation** pIndexPathType
);
Name | Type | Meaning |
---|---|---|
CurrentIndexLocation |
enum IndexLocationType |
|
pIndexPathType |
Indexing server for the repository. |
Indicates whether indexing is enabled for the repository.
HRESULT IsIndexingEnabled(
[out, retval] VARIANT_BOOL* bEnabled
);
Name | Type | Meaning |
---|---|---|
bEnabled |
VARIANT_BOOL* |
Whether indexing is enabled for the repository. |
Enables or disables indexing for the repository.
HRESULT IsIndexingEnabled(
[in] VARIANT_BOOL bEnabled
);
Name | Type | Meaning |
---|---|---|
bEnabled |
VARIANT_BOOL |
Whether to enable or disable indexing for the repository. |
Represents the location of the index, which can be a folder in the repository share, as by default, or a custom network share.
All this interface does is say whether the index is in the default or a custom location. If it is custom, cast the IIndexLocation instance to ICustomIndexLocation to get or set the path.
HRESULT Type(
[out, retval] enum IndexLocationType* pType)
);
Name | Type | Meaning |
---|---|---|
pType |
enum IndexLocationType* |
Where the index is located: default folder or share. |
Provides access to indexing-related operations.
Returns the ID of the index manager.
HRESULT GetID(
[out, retval] BSTR*
);
Name | Type | Meaning |
---|---|---|
|
BSTR* |
ID of the index manager. |
Shuts down the index manager.
HRESULT Shutdown();
© ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center