Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » QAnywhere » QAnywhere リファレンス » QAnywhere のプロパティ » クライアント・メッセージ・ストア・プロパティ

 

クライアント・メッセージ・ストア・プロパティの列挙体

QAnywhere .NET、C++、Java API では、事前定義とカスタムのメッセージ・ストア・プロパティを列挙できます。

.NET の例

GetStorePropertyNames メソッドを参照してください。

// qaManager is a QAManager instance.
IEnumerator propertyNames = qaManager.GetStorePropertyNames();
C++ の例

beginEnumStorePropertyNames 関数を参照してください。

// 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);
}
Java の例

getStorePropertyNames メソッドを参照してください。

// qaManager is a QAManager instance.
Enumeration propertyNames = qaManager.getStorePropertyNames();