IProviderProperties interface (functiondiscoveryprovider.h)
[Function Discovery is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
This interface is optionally implemented by discovery providers to directly create and manage their own property store. If this interface is implemented, the provider can use its property store for its own internal use, but all queries from the property store implemented by this interface will go directly to the provider, and the internal property store will never be exposed to a client calling IFunctionInstance::OpenPropertyStore.
Inheritance
The IProviderProperties interface inherits from the IUnknown interface. IProviderProperties also has these types of members:
Methods
The IProviderProperties interface has these methods.
IProviderProperties::GetAt Gets the property key at the specified index. |
IProviderProperties::GetCount Gets the number of properties in the property store. |
IProviderProperties::GetValue Gets the value of the specified property key. |
IProviderProperties::SetValue Sets the value of the specified property key. |
Remarks
Implementing this interface enables a provider to provide access to the most current property values. Otherwise, the client uses the values in the cache created by Function Discovery when the function instance is created or the property store is opened.
If a provider does not implement this interface, then the provider must provide a property store at the time the instance is created or when the client calls InstancePropertyStoreOpen.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | functiondiscoveryprovider.h |