Creates an instance of IIndexManager for a production or idle repository.
Creates an IIndexManager instance for a production repository.
HRESULT GetRemoteIndexManager(
[in] BSTR pszServerName,
[in] BSTR pszRepositoryIdentity,
[out] IIndexManager** ppManager
);
Name | Type | Meaning |
---|---|---|
pszServerName |
BSTR |
Name of an InTrust server in the same organization as the repository. |
pszRepositoryIdentity | BSTR |
ID of the production repository that you need. |
ppManager | IIndexManager** |
Index manager for the production repository. |
Creates an IIndexManager instance for an idle repository.
HRESULT GetLocalIndexManager(
[in] BSTR pszIndexPath,
[in] BSTR pszRepositoryPath,
[in] BSTR pszAcount,
[in] BSTR pszPassword,
[in] enum modeOpen mode,
[out, retval] IIndexManager**
);
Name | Type | Meaning |
---|---|---|
pszIndexPath |
BSTR |
Path to the index data for the idle repository. |
pszRepositoryPath | BSTR |
Path to the idle repository file structure. |
pszAcount | BSTR |
User name for access to the idle repository. |
pszPassword | BSTR |
Password for access to the idle repository. |
mode |
enum |
MODE_OPEN = 0 |
|
IIndexManager** |
Index manager to use for indexing-related operations. |
Entry point for access to InTrust organizations, servers and repositories. Whenever you obtain this legacy interface, you should cast it to IInTrustEnvironment3 and use that instead.
Provides access to the specified InTrust server.
|
Caution: For this operation to succeed, the account you are using must be a member of the AMS Readers local group on the InTrust server you want to connect to. Alternatively, it can be an InTrust organization administrator. To configure this privilege for the account, do one of the following:
|
HRESULT ConnectToServer(
[in] BSTR bstrServerBinding,
[out, retval] IInTrustServer** ppServer
);
Name | Type | Meaning |
---|---|---|
bstrServerBinding |
BSTR |
Name of the InTrust server. |
|
InTrust server interface. |
Provides a collection of available InTrust organizations.
HRESULT Organizations(
[out, retval] IInTrustOrganizationCollection** ppOrganization
);
Name | Type | Meaning |
---|---|---|
ppOrganization |
Collection of available InTrust organizations. |
Provides access to the log knowledge database associated with the InTrust organization.
HRESULT Eventory(
[out, retval] IInTrustEventory **ppVal
);
Name | Type | Meaning |
---|---|---|
ppVal |
Log knowledge database associated with the InTrust organization. |
Entry point for access to InTrust organizations, servers and repositories.
Provides access to the specified InTrust server. The credentials of the current user are used for the operation.
|
Caution: For this operation to succeed, the account you are using must be a member of the AMS Readers local group on the InTrust server you want to connect to. Alternatively, it can be an InTrust organization administrator. To configure this privilege for the account, do one of the following:
|
HRESULT ConnectToServer(
[in] BSTR bstrServerBinding,
[out, retval] IInTrustServer** ppServer
);
Name | Type | Meaning |
---|---|---|
bstrServerBinding |
BSTR |
Name of the InTrust server. |
|
InTrust server interface. |
Provides access to the InTrust server running locally.
ConnectToServerLocal(
[out, retval] IInTrustServer** ppServer
);
Name | Type | Meaning |
---|---|---|
ppServer |
Interface for the local InTrust server. |
Provides access to the specified InTrust server using the specified credentials.
HRESULT ConnectToServerWithCredentials(
[in] BSTR bstrServerBinding,
[in] BSTR bstrUserName,
[in] BSTR bstrUserPasword,
[out, retval] IInTrustServer** ppServer);
Name | Type | Meaning |
---|---|---|
bstrServerBinding |
BSTR |
Name of the InTrust server. |
bstrUserName |
BSTR |
User name of the account to use for the operation. |
bstrUserPasword |
BSTR |
Password of the account to use for the operation. |
ppServer |
Interface for the InTrust server. |
Provides a collection of available InTrust organizations.
HRESULT Organizations(
[out, retval] IInTrustOrganizationCollection** ppOrganization
);
Name | Type | Meaning |
---|---|---|
ppOrganization |
Collection of available InTrust organizations. |
Provides access to the log knowledge base, which contains rules that govern the transformation of log entries into repository and event records.
Returns a string representation of the log knowledge base.
HRESULT Eventory(
[out, retval] BSTR* bstrEventory
);
Name | Type | Meaning |
---|---|---|
bstrEventory |
BSTR* |
String representation of the log knowledge base. |
Provides access to the log knowledge base entries through an IInTrustEventoryItemCollection.
HRESULT Logs(
[out, retval] IInTrustEventoryItemCollection** pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
Log knowledge base entries. |
HRESULT DataSources(
[out, retval] IInTrustEventoryItemCollection** pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
Log knowledge base entries. |
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center