Platform SDK: Transaction Server |
[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]
import com.ms.mtx.*; ISharedPropertyGroupManager spgm = null; IEnumVariant myEnum = null; Variant v; int i; // Get the enumerator object and // cast the returned interface to IEnumVariant. myEnum = (IEnumVariant)spgm.get_NewEnum(); // Use the enumerator to iterate through // the property group names. for(i = 0; i < 10; i++){ v = Enum.Next(1); // Do something with the returned // property group names. }