Provides a collection of all repositories available in the InTrust organization.
Gets the specified repository from a collection.
HRESULT Item(
[in] BSTR bstrRepositoryIdentity,
[out, retval] IInTrustRepository**
);
Name | Type | Meaning |
---|---|---|
bstrRepositoryIdentity |
BSTR |
A piece of information that identifies the repository. You can specify one of the following:
The Item method tries to interpret its input parameter as each of these identifiers, in that order. |
|
Repository interface. |
Creates a repository with the specified properties in a collection.
|
Caution: For this operation to succeed, the account you are using must be an InTrust organization administrator. To configure this privilege for the account, do one of the following:
|
HRESULT Add(
[in] BSTR bstrRepositoryName,
[in] BSTR bstrRepositoryPath,
[in] BSTR bstrUserName,
[in] BSTR bUserPassword,
[in] BSTR bstrIndexServer,
[out, retval] IInTrustRepository**
);
Name | Type | Meaning |
---|---|---|
bstrRepositoryName |
BSTR |
Name of the repository. |
bstrRepositoryPath |
BSTR |
UNC path to the share that contains the repository. |
bstrUserName |
BSTR |
User name of the account to use for connection to the repository (for both searching and writing). This account must be a member of the local AMS Readers group on the InTrust server that manages the repository, specified by the bstrIndexServer parameter. If bstrUserName is empty, the account set for the InTrust server will be used for connection. |
bUserPassword |
BSTR |
Password of the account specified by the bstrUserName parameter. |
bstrIndexServer |
BSTR |
Name of the InTrust server that manages the index for the repository. |
|
Repository interface. |
Removes the specified repository from the collection, deleting it from the InTrust organization configuration.
|
Caution: For this operation to succeed, the account you are using must be an InTrust organization administrator. To configure this privilege for the account, do one of the following:
|
HRESULT Remove(
[in] BSTR bstrRepositoryIdentity
);
Name | Type | Meaning |
---|---|---|
bstrRepositoryIdentity |
BSTR |
A piece of information that identifies the repository. You can specify one of the following:
The Item method tries to interpret its input parameter as each of these identifiers, in that order. |
References repositories in a collection.
HRESULT _NewEnum(
[out, retval] LPUNKNOWN* pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
LPUNKNOWN* |
Access to repositories in a collection. |
Provides repository search capabilities.
Runs a repository search using the specified query.
HRESULT ID(
[in] BSTR rel_query,
[out] IObservable** search_object
);
Name | Type | Meaning |
---|---|---|
rel_query |
BSTR |
Search query. |
search_object |
Interface that you can subscribe to for search results. |
Provides access to an InTrust server.
Returns the name of the InTrust server.
HRESULT Name(
[out, retval] BSTR* pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
BSTR* |
Name of the InTrust server. |
The InTrust organization that the InTrust server belongs to.
HRESULT Organization(
[out, retval] IInTrustOrganization** pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
InTrust organization interface. |
Provides a collection of all InTrust servers in the InTrust organization.
Provides access to the specified InTrust server.
HRESULT Item(
[in] BSTR bstrServerIdentity,
[out, retval] IInTrustServer**
);
Name | Type | Meaning |
---|---|---|
bstrServerIdentity |
BSTR |
Name of the InTrust server. |
|
InTrust server interface. |
References InTrust servers in a collection.
HRESULT _NewEnum(
[out, retval] LPUNKNOWN* pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
LPUNKNOWN* |
Enumerated InTrust servers. |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center