Administrator Guide

Description("Unique ID of alert"),
Key
]
string AlertGUID;
[
Description("Alert Message")
]
string AlertMessage;
[
Description("Alert Description"),
]
string AlertDescr;
[
Description("Guidance"),
]
string AlertGuidance;
[
Description("Local date/time of alert"),
]
string AlertGeneratedAt;
};
/**************************************************************
* Creat an instance of the provider
// Setting the HostingModel to Decoupled:Com registers the provider as a decoupled com
provider,
// lowers RPC_C_IMP_LEVEL_IMPERSONATE and RPC_C_IMP_LEVEL_DELEGATE impersonation levels to
// RPC_C_IMP_LEVEL_IDENTIFY before calling into provider:
// Setting the HostingModel to Decoupled:Com:FoldIdentity(FALSE} allows original client
// impersonation level through to provider.
// This lets a decoupled provider impersonate the client and hence
// act in the role of that client. This poses a potential security risk for the client
// if the decoupled provider security identity has less rights than the original cliient.
// Use a strong security descriptor when using this option:
**************************************************************/
instance of Win32Provider as $P
{
Clsid = "{C4ABD5F1-1260-4192-BF0B-11909C172043}";
Name = "DPOProv";
HostingModel = "NetworkServiceHost";
};
instance of InstanceProviderRegistration
{
Provider = $P;
SupportsGet = TRUE;
SupportsPut = FALSE;
SupportsDelete = FALSE;
SupportsEnumeration = TRUE;
// we want WMI to do query parsing QuerySupportLevels = NULL;
};
instance of MethodProviderRegistration
{
Provider = $P;
};
附錄 B - WMI 類別定義檔案 57