The QAnywhere .NET, C++, and Java APIs can provide an enumeration of predefined and custom client message store properties.
See GetStorePropertyNames method.
// qaManager is a QAManager instance. IEnumerator propertyNames = qaManager.GetStorePropertyNames(); |
See beginEnumStorePropertyNames function.
// qaManager is a QAManager instance.
qa_store_property_enum_handle handle = qaManager->beginEnumStorePropertyNames();
qa_char propertyName[256];
if( handle != qa_null ) {
while(qaManager->nextStorePropertyName(handle, propertyName, 255) != -1) {
// Do something with the message store property name.
}
// Message store properties cannot be set after
// the beginEnumStorePropertyNames call
// and before the endEnumStorePropertyNames call.
qaManager->endEnumStorePropertyNames(handle);
} |
See getStorePropertyNames method.
// qaManager is a QAManager instance. Enumeration propertyNames = qaManager.getStorePropertyNames(); |
| Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |