Usage Property

DTF API

Copy image CopyHover image
Deployment Tools Foundation Usage Property
Gets the usage metrics for the feature.
Declaration Syntax
C# Visual Basic Visual C++ F#
public FeatureInstallation..::..UsageData Usage { get; }
Public ReadOnly Property Usage As FeatureInstallation..::..UsageData
	Get
public:
property FeatureInstallation..::..UsageData Usage {
	FeatureInstallation..::..UsageData get ();
}
member Usage : FeatureInstallation..::..UsageData with get
Remarks

If no usage metrics are recorded, the UseCount value is 0.

Win32 MSI API: MsiGetFeatureUsage

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)