Provides a collection of all search-based filters associated with an InTrust repository.
Returns an enumerator for the collection.
HRESULT _NewEnum(
[out, retval] LPUNKNOWN* pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
LPUNKNOWN* |
Collection enumerator. |
Adds a new filter based on a Repository Viewer search.
HRESULT Add(
[in] BSTR bstrPath
);
Name | Type | Meaning |
---|---|---|
bstrPath |
BSTR |
Path to the Repository Viewer search to make the new filter from. At this time, an internal representation of the path is expected, and there is no usable way to look it up for a specific search. Later implementations should fix this. |
Removes the specified filter from the collection. To specify the filter, pass in the path to its corresponding Repository Viewer search.
HRESULT Remove(
[in] BSTR bstrPath
);
Name | Type | Meaning |
---|---|---|
bstrPath |
BSTR |
Path to the Repository Viewer search to make the new filter from. |
Provides access to the event forwarding settings for a repository.
Returns whether event forwarding is enabled for the repository.
HRESULT ForwardingEnabled(
[out, retval] VARIANT_BOOL* pForwardingEnabled
);
Name | Type | Meaning |
---|---|---|
pForwardingEnabled |
VARIANT_BOOL* |
Whether event forwarding is enabled for the repository. |
Enables or disables event forwarding for the repository.
HRESULT ForwardingEnabled(
[in] VARIANT_BOOL ForwardingEnabled
);
Name | Type | Meaning |
---|---|---|
pForwardingEnabled |
VARIANT_BOOL |
Whether to enable or disable event forwarding for the repository. |
Returns the collection of repository searches used as forwarding filters. Management of these filters is outside the scope of the InTrust SDK.
HRESULT ForwardingFilters(
[out, retval] IForwardingFilterCollection** ppForwardingFilters
);
Name | Type | Meaning |
---|---|---|
ppForwardingFilters |
Repository searches used as forwarding filters. |
Returns the InTrust server that manages event forwarding from the repository.
HRESULT ForwardingServer(
[out, retval] IInTrustServer3** ppForwardingServer
);
Name | Type | Meaning |
---|---|---|
ppForwardingServer |
InTrust server that manages event forwarding from the repository. |
Sets the InTrust server that manages event forwarding from the repository.
HRESULT ForwardingServer(
[in] IInTrustServer3* pForwardingServer
);
Name | Type | Meaning |
---|---|---|
pForwardingServer |
InTrust server that manages event forwarding from the repository. |
Returns the name or IP address of the destination host for event forwarding.
HRESULT Host(
[out, retval] BSTR* bstrHost
);
Name | Type | Meaning |
---|---|---|
bstrHost |
BSTR* |
Name or IP address of the destination host for event forwarding. |
Sets the name or IP address of the destination host for event forwarding.
HRESULT Host(
[in] BSTR bstrHost
);
Name | Type | Meaning |
---|---|---|
bstrHost |
BSTR |
Name or IP address of the destination host for event forwarding. |
Returns the details of the message format used for event forwarding from the repository.
HRESULT MessageFormat(
[out, retval] IMessageFormatInfo** ppMessageFormatInfo
);
Name | Type | Meaning |
---|---|---|
ppMessageFormatInfo |
Details of the message format used for event forwarding from the repository. |
Sets the message format to use for event forwarding from the repository.
HRESULT MessageFormat(
[in] IMessageFormatInfo* pMessageFormatInfo
);
Name | Type | Meaning |
---|---|---|
pMessageFormatInfo |
Details of the message format used for event forwarding from the repository. |
Returns the destination port for event forwarding.
HRESULT Port(
[out, retval] BSTR* bstrPort
);
Name | Type | Meaning |
---|---|---|
bstrPort |
BSTR* |
Destination port for event forwarding. |
Sets the destination port for event forwarding.
HRESULT Port(
[in] BSTR bstrPort
);
Name | Type | Meaning |
---|---|---|
bstrPort |
BSTR |
Destination port for event forwarding. |
Returns the details of the transport selected for event forwarding from the repository.
HRESULT Transport(
[out, retval] ITransportInfo** ppTransportInfo
);
Name | Type | Meaning |
---|---|---|
ppTransportInfo |
Transport selected for event forwarding from the repository. |
Sets the transport for event forwarding from the repository.
HRESULT Transport(
[in] ITransportInfo* pTransportInfo
);
Name | Type | Meaning |
---|---|---|
pTransportInfo |
Transport selected for event forwarding from the repository. |
Represents an idle repository. An idle repository has the correct structure on the file system, but is not registered with an InTrust organization. Currently, you can search in idle repositories using the repository API, but you cannot write to them.
Returns a searcher interface for the idle repository.
HRESULT Searcher(
[in, optional] VARIANT pIndexManager,
[out, retval] IInTrustRepositorySearcher** ppSearcher);
Name | Type | Meaning |
---|---|---|
pIndexManager |
VARIANT |
Interface that contains details about the index to use for searching in the repository. See IIndexManager for details. |
ppSearcher |
Searcher interface that you can supply your query to. |
Creates an idle InTrust repository. An idle repository has the correct structure on the file system, but is not registered with an InTrust organization.
Returns an idle InTrust repository.
HRESULT MakeIdleRepository(
[in] BSTR bstrPath,
[in] BSTR bstrUser,
[in] BSTR bstrPassword,
[out, retval] IIdleRepository **ppRepository);
Name | Type | Meaning |
---|---|---|
bstrPath |
BSTR |
Search query. |
bstrUser |
BSTR |
User account to use for the operation. |
bstrPassword | BSTR |
Password to use for the operation. |
ppRepository |
The newly-created idle repository. |
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center