(file) Return to TestClass_Employee.mof CVS log (file) (dir) Up to [OMI] / omi / samples / Providers / TestClass_Employee

File: [OMI] / omi / samples / Providers / TestClass_Employee / TestClass_Employee.mof (download)
Revision: 1.1, Mon Apr 20 17:20:01 2015 UTC (9 years, 2 months ago) by krisbash
Branch: MAIN
CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD
OMI 1.0.8-1

// Convert-MofToProvider.exe -IncludePath CIM -outPath Employee_OMI -MOffile Employee.mof -ClassList Employee ContactInfo -extraClass TestCim_Error

#pragma include ("Qualifiers.mof")
#pragma include ("Interop\CIM_Error.mof")

class TestCIM_Error
: CIM_ERROR
{
        uint32 errResult;
};

class Address
{
	[key] uint32 addressId;
	string City;
	uint16 zipCode;

	[static] uint32 OperationOptionsStatic();
	uint32 OperationOptionsInstance();
};



class ContactInfo :  Address
{
	string phoneNumber[];
        uint32 GetPhoneNumbers([out] string numbers[]);
};


class Employee
{
	[key] string SSN;
	string firstName;
	string lastName;
	datetime dateOfBirth;
};

ViewCVS 0.9.2