DSCResources/xIISSession/xIISSession.schema.mof

 
[ClassVersion("1.0.0.0")]
class UseSQL
{
    [Key] String sqlConnectionString;
    [Write] String sqlCommandTimeout;
    [Write] String sqlConnectionRetryInterval;
    [Write] Boolean allowCustomSqlDatabase;
    [Write] Boolean compressionEnabled;
};
 
 
 
[ClassVersion("1.0.0.0")]
class UseCookie
{
    [Key, ValueMap{"UseUri","UseCookies","AutoDetect","UseDeviceProfile"}, Values{"UseUri","UseCookies","AutoDetect","UseDeviceProfile"}] String cookieless;
    [Write] String cookieName;
    [Write] String timeout;
    [Write] Boolean useHostingIdentity;
    [Write] Boolean regenerateExpiredSessionId;
};
 
 
[ClassVersion("1.0.0.0")]
class UseState
{
    [Write] String stateNetworkTimeout;
    [Key] String stateConnectionString;
    [Write] Boolean compressionEnabled;
};
 
 
 
[ClassVersion("1.0.0.0"), FriendlyName("xIISSession")]
class xIISSession : OMI_BaseResource
{
    [Required, ValueMap{"Off","InProc","StateServer","SQLServer","Custom"}, Values{"Off","InProc","StateServer","SQLServer","Custom"}] String mode;
    [Key] String SiteName;
    [Write,EmbeddedInstance("UseState")] string UseState;
    [Write,EmbeddedInstance("UseCookie")] string UseCookie;
    [Write,EmbeddedInstance("UseSQL")] string UseSQL;
};