externalLibs/SQLPSX/PBM/Policies/EPM - SQLAgent is running.xml
<?xml version="1.0" encoding="utf-8"?><model xmlns="http://schemas.serviceml.org/smlif/2007/02"><identity><name>urn:uuid:96fe1236-abf6-4a57-b54d-e9baab394fd1</name><baseURI>http://documentcollection/</baseURI></identity><xs:bufferSchema xmlns:xs="http://www.w3.org/2001/XMLSchema"><definitions xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08"><document><docinfo><aliases><alias>/system/schema/DMF</alias></aliases><sfc:version DomainVersion="3" /></docinfo><data><xs:schema targetNamespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="http://schemas.serviceml.org/sml/2007/02" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"><xs:element name="Policy"><xs:complexType><xs:sequence><xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" /></xs:sequence></xs:complexType></xs:element><xs:element name="ObjectSet"><xs:complexType><xs:sequence><xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" /></xs:sequence></xs:complexType></xs:element><xs:element name="Condition"><xs:complexType><xs:sequence><xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" /></xs:sequence></xs:complexType></xs:element><xs:element name="PolicyCategory"><xs:complexType><xs:sequence><xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" /></xs:sequence></xs:complexType></xs:element><xs:element name="TargetSet"><xs:complexType><xs:sequence><xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" /></xs:sequence></xs:complexType></xs:element><DMF:bufferData xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08"><instances xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08"><document><docinfo><aliases><alias>/PolicyStore/Policy/EPM - SQLAgent is running</alias></aliases><sfc:version DomainVersion="3" /></docinfo><data><DMF:Policy xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="http://schemas.serviceml.org/sml/2007/02" xmlns:xs="http://www.w3.org/2001/XMLSchema"><DMF:Parent><sfc:Reference sml:ref="true"><sml:Uri>/PolicyStore</sml:Uri></sfc:Reference></DMF:Parent><DMF:PolicyCondition><sfc:Reference sml:ref="true"><sml:Uri>/PolicyStore/Condition/EPM - SQLAGENT is running</sml:Uri></sfc:Reference></DMF:PolicyCondition><DMF:PolicyObjectSet><sfc:Reference sml:ref="true"><sml:Uri>/PolicyStore/ObjectSet/EPM - SQLAgent is running__ObjectSet</sml:Uri></sfc:Reference></DMF:PolicyObjectSet><DMF:PolicyPolicyCategory><sfc:Reference sml:ref="true"><sml:Uri>/PolicyStore/PolicyCategory/EPM_b Test</sml:Uri></sfc:Reference></DMF:PolicyPolicyCategory><DMF:Name type="string">EPM - SQLAgent is running</DMF:Name><DMF:Description type="string" /><DMF:Condition type="string">EPM - SQLAGENT is running</DMF:Condition><DMF:ObjectSet type="string">EPM - SQLAgent is running_ObjectSet</DMF:ObjectSet><DMF:RootCondition type="string" /><DMF:PolicyCategory type="string">EPM: Test</DMF:PolicyCategory><DMF:Enabled type="boolean">false</DMF:Enabled><DMF:AutomatedPolicyEvaluationMode type="AutomatedPolicyEvaluationMode">None</DMF:AutomatedPolicyEvaluationMode><DMF:ScheduleUid type="guid">00000000-0000-0000-0000-000000000000</DMF:ScheduleUid><DMF:HelpText type="string" /><DMF:HelpLink type="string" /><DMF:ActiveEndDate type="dateTime">0001-01-01T00:00:00</DMF:ActiveEndDate><DMF:ActiveEndTimeOfDay type="long">0</DMF:ActiveEndTimeOfDay><DMF:ActiveStartDate type="dateTime">0001-01-01T00:00:00</DMF:ActiveStartDate><DMF:ActiveStartTimeOfDay type="long">0</DMF:ActiveStartTimeOfDay><DMF:FrequencyInterval type="int">0</DMF:FrequencyInterval><DMF:FrequencyRecurrenceFactor type="int">0</DMF:FrequencyRecurrenceFactor><DMF:FrequencyRelativeIntervals type="FrequencyRelativeIntervals" /><DMF:FrequencySubDayInterval type="int">0</DMF:FrequencySubDayInterval><DMF:FrequencySubDayTypes type="FrequencySubDayTypes">Unknown</DMF:FrequencySubDayTypes><DMF:FrequencyTypes type="FrequencyTypes">Unknown</DMF:FrequencyTypes><DMF:Schedule type="string" /></DMF:Policy></data></document><document><docinfo><aliases><alias>/PolicyStore/ObjectSet/EPM - SQLAgent is running__ObjectSet</alias></aliases><sfc:version DomainVersion="3" /></docinfo><data><DMF:ObjectSet xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="http://schemas.serviceml.org/sml/2007/02" xmlns:xs="http://www.w3.org/2001/XMLSchema"><DMF:TargetSets><sfc:Collection><sfc:Reference sml:ref="true"><sml:Uri>/PolicyStore/ObjectSet/EPM - SQLAgent is running__ObjectSet/TargetSet/Server</sml:Uri></sfc:Reference></sfc:Collection></DMF:TargetSets><DMF:Parent><sfc:Reference sml:ref="true"><sml:Uri>/PolicyStore</sml:Uri></sfc:Reference></DMF:Parent><DMF:Name type="string">EPM - SQLAgent is running_ObjectSet</DMF:Name><DMF:Facet type="string">Server</DMF:Facet></DMF:ObjectSet></data></document><document><docinfo><aliases><alias>/PolicyStore/Condition/EPM - SQLAGENT is running</alias></aliases><sfc:version DomainVersion="3" /></docinfo><data><DMF:Condition xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="http://schemas.serviceml.org/sml/2007/02" xmlns:xs="http://www.w3.org/2001/XMLSchema"><DMF:Parent><sfc:Reference sml:ref="true"><sml:Uri>/PolicyStore</sml:Uri></sfc:Reference></DMF:Parent><DMF:Expression type="string"><Operator><?char 13?>
<TypeClass>Bool</TypeClass><?char 13?> <OpType>EQ</OpType><?char 13?> <Count>2</Count><?char 13?> <Function><?char 13?> <TypeClass>Numeric</TypeClass><?char 13?> <FunctionType>ExecuteSql</FunctionType><?char 13?> <ReturnType>Numeric</ReturnType><?char 13?> <Count>2</Count><?char 13?> <Constant><?char 13?> <TypeClass>String</TypeClass><?char 13?> <ObjType>System.String</ObjType><?char 13?> <Value>numeric</Value><?char 13?> </Constant><?char 13?> <Constant><?char 13?> <TypeClass>String</TypeClass><?char 13?> <ObjType>System.String</ObjType><?char 13?> <Value>SELECT count(*)&lt;?char 13?&gt;<?char 13?> FROM master.dbo.sysprocesses&lt;?char 13?&gt;<?char 13?> WHERE program_name = N''SQLAgent - Generic Refresher''</Value><?char 13?> </Constant><?char 13?> </Function><?char 13?> <Constant><?char 13?> <TypeClass>Numeric</TypeClass><?char 13?> <ObjType>System.Double</ObjType><?char 13?> <Value>1</Value><?char 13?> </Constant><?char 13?> </Operator></DMF:Expression><DMF:Name type="string">EPM - SQLAGENT is running</DMF:Name><DMF:Description type="string" /><DMF:Facet type="string">Server</DMF:Facet></DMF:Condition></data></document><document><docinfo><aliases><alias>/PolicyStore/PolicyCategory/EPM_b Test</alias></aliases><sfc:version DomainVersion="3" /></docinfo><data><DMF:PolicyCategory xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="http://schemas.serviceml.org/sml/2007/02" xmlns:xs="http://www.w3.org/2001/XMLSchema"><DMF:Parent><sfc:Reference sml:ref="true"><sml:Uri>/PolicyStore</sml:Uri></sfc:Reference></DMF:Parent><DMF:Name type="string">EPM: Test</DMF:Name></DMF:PolicyCategory></data></document><document><docinfo><aliases><alias>/PolicyStore/ObjectSet/EPM - SQLAgent is running__ObjectSet/TargetSet/Server</alias></aliases><sfc:version DomainVersion="3" /></docinfo><data><DMF:TargetSet xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="http://schemas.serviceml.org/sml/2007/02" xmlns:xs="http://www.w3.org/2001/XMLSchema"><DMF:Parent><sfc:Reference sml:ref="true"><sml:Uri>/PolicyStore/ObjectSet/EPM - SQLAgent is running__ObjectSet</sml:Uri></sfc:Reference></DMF:Parent><DMF:TargetTypeSkeleton type="string">Server</DMF:TargetTypeSkeleton><DMF:Enabled type="boolean">true</DMF:Enabled></DMF:TargetSet></data></document></instances></DMF:bufferData></xs:schema></data></document></definitions></xs:bufferSchema></model> |