4.3 Storage Object Management with INtmsObjectManagement1
The following example illustrates how the RSM client performs storage object management using the INtmsObjectManagement1 interface.

Figure 3: Example of storage object management (ASCII)
The client calls INtmsSession1::OpenNtmsServerSessionA to open a session with the server.
The server initializes the session and indicates success.
The RSM client calls INtmsObjectManagement1::EnumerateNtmsObject. The dwType parameter is set to a value from the NtmsObjectsTypes enumeration.
The server returns a list of objects.
The client calls INtmsObjectManagement1::GetNtmsObjectAttributeA to get the object attributes for a particular object.
The server returns the requested object attributes.
The client can also call INtmsObjectManagement1::SetNtmsObjectAttributeA to set the object attributes for the object.
The server indicates success (S_OK).
The client disables the object by using INtmsObjectManagement1::EnableNtmsObject.
The server indicates success (S_OK).