sql HWI DEF SQL Server产品

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql HWI DEF SQL Server产品相关的知识,希望对你有一定的参考价值。

//======================================================
//---------------| SQL definition start |---------------
//======================================================

//---------------| SQL 2017 definitions |---------------

[Dynamic, Provider("MS_VIEW_INSTANCE_PROVIDER"),
SMS_Report(true),
SMS_Group_Name("SQL 2017 Property"),
SMS_Class_ID("EXT|SQL_2017_PROPERTY|1.0")]

Class SQL_2017_Property: SMS_Class_Template
{
    [SMS_Report(true), key]    uint32 PropertyIndex;
    [SMS_Report(true), key]    string PropertyName;
    [SMS_Report(true)     ]    uint32 PropertyNumValue;
    [SMS_Report(true)     ]    string PropertyStrValue;
    [SMS_Report(true), key]    string ServiceName;
    [SMS_Report(true), key]    uint32 SqlServiceType;
};

//---------------| SQL 2016 definitions |---------------

[Dynamic, Provider("MS_VIEW_INSTANCE_PROVIDER"),
SMS_Report(true),
SMS_Group_Name("SQL 2016 Property"),
SMS_Class_ID("EXT|SQL_2016_PROPERTY|1.0")]

Class SQL_2016_Property: SMS_Class_Template
{
    [SMS_Report(true), key]    uint32 PropertyIndex;
    [SMS_Report(true), key]    string PropertyName;
    [SMS_Report(true)     ]    uint32 PropertyNumValue;
    [SMS_Report(true)     ]    string PropertyStrValue;
    [SMS_Report(true), key]    string ServiceName;
    [SMS_Report(true), key]    uint32 SqlServiceType;
};

//---------------| SQL 2014 definitions |---------------

[Dynamic, Provider("MS_VIEW_INSTANCE_PROVIDER"),
SMS_Report(true),
SMS_Group_Name("SQL 2014 Property"),
SMS_Class_ID("EXT|SQL_2014_PROPERTY|1.0")]

Class SQL_2014_Property: SMS_Class_Template
{
    [SMS_Report(true), key]    uint32 PropertyIndex;
    [SMS_Report(true), key]    string PropertyName;
    [SMS_Report(true)     ]    uint32 PropertyNumValue;
    [SMS_Report(true)     ]    string PropertyStrValue;
    [SMS_Report(true), key]    string ServiceName;
    [SMS_Report(true), key]    uint32 SqlServiceType;
};

//---------------| SQL 2012 definitions |---------------

[Dynamic, Provider("MS_VIEW_INSTANCE_PROVIDER"),
SMS_Report(true),
SMS_Group_Name("SQL 2012 Property"),
SMS_Class_ID("EXT|SQL_2012_PROPERTY|1.0")]

Class SQL_2012_Property: SMS_Class_Template
{
    [SMS_Report(true), key]    uint32 PropertyIndex;
    [SMS_Report(true), key]    string PropertyName;
    [SMS_Report(true)     ]    uint32 PropertyNumValue;
    [SMS_Report(true)     ]    string PropertyStrValue;
    [SMS_Report(true), key]    string ServiceName;
    [SMS_Report(true), key]    uint32 SqlServiceType;
};

//---------------| SQL 2008 definitions |---------------

[Dynamic, Provider("MS_VIEW_INSTANCE_PROVIDER"),
SMS_Report(true),
SMS_Group_Name("SQL 2008 Property"),
SMS_Class_ID("EXT|SQL_2008_PROPERTY|1.0")]

Class SQL_2008_Property: SMS_Class_Template
{
    [SMS_Report(true), key]    uint32 PropertyIndex;
    [SMS_Report(true), key]    string PropertyName;
    [SMS_Report(true)     ]    uint32 PropertyNumValue;
    [SMS_Report(true)     ]    string PropertyStrValue;
    [SMS_Report(true), key]    string ServiceName;
    [SMS_Report(true), key]    uint32 SqlServiceType;
};

//---------------| SQL 2000/2005 definitions |---------------

[Dynamic, Provider("MS_VIEW_INSTANCE_PROVIDER"),
SMS_Report(true),
SMS_Group_Name("SQL Legacy Property"),
SMS_Class_ID("EXT|SQL_LEGACY_PROPERTY|1.0")]

Class SQL_Legacy_Property: SMS_Class_Template
{
    [SMS_Report(true), key]    uint32 PropertyIndex;
    [SMS_Report(true), key]    string PropertyName;
    [SMS_Report(true)     ]    uint32 PropertyNumValue;
    [SMS_Report(true)     ]    string PropertyStrValue;
    [SMS_Report(true), key]    string ServiceName;
    [SMS_Report(true), key]    uint32 SqlServiceType;
};

//-------------| SQL ProductID definition |-------------

[Dynamic, Provider("MS_VIEW_INSTANCE_PROVIDER"),
SMS_Report(true),
SMS_Group_Name("SQL ProductID"),
SMS_Class_ID("EXT|SQL_PRODUCTID|1.0")]

Class SQL_ProductID: SMS_Class_Template
{
    [SMS_Report(true),  key]    string  Release;
    [SMS_Report(true)      ]    string  ProductID;
    [SMS_Report(true)      ]    boolean DigitalProductID[];
};

//======================================================
//----------------| SQL definition end |----------------
//======================================================

以上是关于sql HWI DEF SQL Server产品的主要内容,如果未能解决你的问题,请参考以下文章

sql server产品密钥一定要填吗

SQL Server 动态 PIVOT 查询 - 字段顺序

sql server第三方产品

根据 SQL Server 中给定的条件分配产品名称

SQL Server SUM(添加)产品配件的价格

为产品生命周期创建 SQL Server 视图