Provides a mechanism for receiving push-based notifications. You need to create your own implementation of this interface.
Notifies the observer that the provider has finished sending push-based notifications.
void OnDone();
Notifies the observer that the provider has experienced an error condition.
void OnError(
[in] HRESULT hr,
[in] BSTR description
);
Name | Type | Meaning |
---|---|---|
hr |
HRESULT |
Operation result. |
description |
BSTR |
Additional information about the error. |
Provides the observer with new data.
void OnNext(
[in] IUnknown* data
);
Name | Type | Meaning |
---|---|---|
data |
IUnknown* |
The current notification information. |
Represents an organizational unit from which to put computers in an InTrust site.
Returns the canonical name of the organizational unit.
HRESULT CanonicalName(
[out, retval]BSTR* bstrCanonicalName
);
Name | Type | Meaning |
---|---|---|
bstrCanonicalName |
BSTR* |
Canonical name of the organizational unit. |
Sets the canonical name of the organizational unit.
HRESULT CanonicalName(
[in]BSTR bstrCanonicalName
);
Name | Type | Meaning |
---|---|---|
bstrCanonicalName |
BSTR |
Canonical name of the organizational unit. |
Returns the distinguished name of the organizational unit.
HRESULT DistinguishedName(
[out, retval]BSTR* bstrDistinguishedName
);
Name | Type | Meaning |
---|---|---|
bstrDistinguishedName |
BSTR* |
Distinguished name of the organizational unit. |
Sets the distinguished name of the organizational unit.
HRESULT DistinguishedName(
[in]BSTR bstrDistinguishedName
);
Name | Type | Meaning |
---|---|---|
bstrDistinguishedName |
BSTR |
Distinguished name of the organizational unit. |
Returns the domain of the organizational unit.
HRESULT Domain(
[out, retval]BSTR* bstrDomain
);
Name | Type | Meaning |
---|---|---|
bstrDomain |
BSTR* |
Domain of the organizational unit. |
Sets the domain of the organizational unit.
HRESULT Domain(
[in]BSTR bstrDomain
);
Name | Type | Meaning |
---|---|---|
bstrDomain |
BSTR |
Domain of the organizational unit. |
Represents a property attached to an InTrust repository. A property is a way to tag repositories for arbitrary purposes.
Sets the name of the property.
HRESULT PropertyName(
[in] BSTR pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
BSTR |
Name of the property. The name must be unique in the property collection (see IPropertyCollection). |
Returns the value of the property.
HRESULT PropertyValue(
[out, retval] VARIANT *pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
VARIANT* |
Value of the property. |
Sets the value of the property.
HRESULT PropertyValue(
[in] VARIANT pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
VARIANT |
Value of the property. |
Returns the name of the property.
|
|
HRESULT PropertyName(
[out, retval] BSTR *pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
BSTR* |
Name of the property. |
Represents a collection of properties associated with an InTrust repository. Access to the collections is gained through specialized methods of the IInTrustRepository3 interface (such as CustomAttributes and ForwardingProperties), which filter the available properties by purpose.
Gets a property from the collection by name.
HRESULT Item(
[in] BSTR bstrPropertyName,
[out, retval] IProperty** ppProperty
);
Name | Type | Meaning |
---|---|---|
bstrPropertyName |
BSTR |
Name of the property. This name must exist in the collection. |
ppProperty |
The property. |
Returns an enumerator for the collection.
HRESULT _NewEnum(
[out, retval] LPUNKNOWN* pVal
);
Name | Type | Meaning |
---|---|---|
pVal |
LPUNKNOWN* |
Collection enumerator. |
Sets the specified property if it exists or creates it if it doesn't.
HRESULT Set(
[in] BSTR bstrPropertyName,
[in] VARIANT varPropertyValue
);
Name | Type | Meaning |
---|---|---|
bstrPropertyName |
BSTR |
Name of the property to add. The name must be unique. |
varPropertyValue | BSTR |
The value to set. |
Removes a property from the collection by name.
HRESULT Remove(
[in] BSTR bstrPropertyName
);
Name | Type | Meaning |
---|---|---|
bstrPropertyName |
BSTR |
Name of the property to remove. |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center