Provides a collection of all available InTrust organizations.
Provides access to the specified InTrust organization.
HRESULT Item(
[in] BSTR bstrOrganizationIdentity,
[out, retval] IInTrustOrganization**
);
Name | Type | Meaning |
---|---|---|
bstrOrganizationIdentity |
BSTR |
Name of the InTrust organization. |
|
InTrust organization interface. |
Returns an enumerator for the collection.
HRESULT _NewEnum(
[out, retval] LPUNKNOWN* pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
LPUNKNOWN* |
Enumerated InTrust organizations. |
Provides the searching and writing capabilities of a repository.
Provides access to the collection (instance of IPropertyCollection) of custom attributes attached to an InTrust repository (instances of IProperty).
HRESULT CustomAttributes(
[out, retval] IPropertyCollection** pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
Collection of custom attributes attached to the repository. |
Returns the description of the repository.
HRESULT Description(
[out, retval] BSTR* description
);
Name | Type | Meaning |
---|---|---|
description |
BSTR* |
Description of the repository. |
Sets the description of the repository.
HRESULT Description(
[in] BSTR description
);
Name | Type | Meaning |
---|---|---|
description |
BSTR |
Description of the repository. |
Provides access to the forwarding settings for the repository.
HRESULT ForwardingSettings(
[out, retval] IForwardingSettings** ppForwardingSettings
);
Name | Type | Meaning |
---|---|---|
ppForwardingSettings |
Forwarding settings for the repository. |
Returns the GUID of the repository.
HRESULT ID(
[out, retval] GUID* pID
);
Name | Type | Meaning |
---|---|---|
pID |
GUID* |
GUID of the repository. |
Provides access to the indexing settings for the repository.
HRESULT IndexingSettings(
[out, retval] IIndexingSettings** ppIndexingSettings
);
Name | Type | Meaning |
---|---|---|
ppIndexingSettings |
Indexing settings for the repository. |
Provides an interface for inserting records into the repository. For details, see Writing Records.
Caution: A new inserter is created every time you call this method. It's likely that you only want a single unique inserter per repository for all of your writing activity. |
HRESULT Inserter(
[out, retval] IRepositoryRecordInserter** ppInserter
);
Name | Type | Meaning |
---|---|---|
ppInserter |
Record-inserting interface associated with a particular repository. |
Returns the name of the repository.
HRESULT Name(
[out, retval] BSTR* name
);
Name | Type | Meaning |
---|---|---|
name |
BSTR* |
Name of the repository. The name is not necessarily unique in an organization. |
Sets the name of the repository.
HRESULT Name(
[in] BSTR name
);
Name | Type | Meaning |
---|---|---|
name |
BSTR |
Name of the repository. The name is not necessarily unique in an organization. |
Returns the path to the repository.
HRESULT Path(
[out, retval] BSTR* pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
BSTR* |
UNC path to the share that contains the repository. |
Sets the path to the repository.
HRESULT Path(
[in] BSTR path
);
Name | Type | Meaning |
---|---|---|
path |
BSTR |
UNC path to the share that contains the repository. |
Provides access to the credentials that are used for access to the repository.
HRESULT RepositoryAccessCredentials(
[in, defaultvalue(CurrentCusomizableCredentials)] enum CustomizableCredentialsType type,
[out, retval] ICustomizableCredentials** pCredentials
);
Name | Type | Meaning |
---|---|---|
type |
How repository access is currently configured. | |
pCredentials |
Credentials that are used for access to the repository. |
Provides an interface for finding records in the repository. For details, see Getting Records.
HRESULT Searcher(
[out, retval] IInTrustRepositorySearcher** ppSearcher
);
Name | Type | Meaning |
---|---|---|
ppSearcher |
A searcher interface that accepts search queries and provides results. |
Gets the status enumerator for the repository
HRESULT Statuses(
[out, retval] IInTrustRepositoryStatusCollection** pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
IInTrustRepositoryStatusCollection** |
Status enumerator for the repository. |
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] IInTrustRepository3**
);
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. To configure additional properties, use the methods of the repository that is returned.
Note that even though this makes the repository a member of the collection, it will not actually be created until you have called the Commit method of its IInTrustRepository3 interface.
|
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,
[out, retval] IInTrustRepository3**
);
Name | Type | Meaning |
---|---|---|
bstrRepositoryName |
BSTR |
Name of the repository. |
bstrRepositoryPath |
BSTR |
UNC path to the share that contains 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. |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center