ITAM Software Usage Linking Framework Configuration Manager Data Consumer class
<ObjectTemplate ID="DataConsumer.Microsoft.EnterpriseManagement.ServiceManager.Connector.Sms" TypeID="LFX!System.LinkingFramework.DataConnector.Projection">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/DataConnectorName$">MomStore</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/IsProvider$">False</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/SolutionName$">SCCM-SoftwareUsage</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/EntryPoint$">Microsoft.EnterpriseManagement.ServiceManager.Linking.Consumer.OperationalStore.OperationalStoreConsumer</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/EntryAssembly$">Microsoft.EnterpriseManagement.ServiceManager.Linking.Consumer.OperationalStore, Version="7.0.5000.0", Culture=neutral, PublicKeyToken="31bf3856ad364e35"</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/InstallSQLScripts$">
<Script>
if not object_id('[LFXSTG].[v_MeteredProductRuleTx]') is null
drop view [LFXSTG].[v_MeteredProductRuleTx];
exec ('
CREATE VIEW [LFXSTG].[v_MeteredProductRuleTx] AS
SELECT S.Lfx_RowId AS Lfx_RowId,
S.Lfx_SourceId,
S.Lfx_Timestamp,
S.Lfx_Status,
S.SecurityKey,
S.ProductName,
S.OriginalFileName,
S.Comment,
S.FileName,
S.FileVersion,
S.LanguageID,
S.SiteCode
FROM [LFXSTG].stg_MeteredProductRule S
');
if not object_id('[LFXSTG].[v_MonthlyUsageSummaryTx]') is null
drop view [LFXSTG].[v_MonthlyUsageSummaryTx];
exec ('
CREATE VIEW [LFXSTG].[v_MonthlyUsageSummaryTx] AS
SELECT S.Lfx_RowId AS Lfx_RowId,
S.Lfx_SourceId,
S.Lfx_Timestamp,
S.Lfx_Status,
S.TimeKey,
S.ResourceID,
S.FileID,
S.MeteredUserID,
S.UsageCount,
S.TSUsageCount AS ''TerminalServiceUsageCount'',
S.UsageTime,
S.LastUsage,
S.PrincipalName,
S.Domain,
S.UserName,
S.SecurityKey
FROM [LFXSTG].stg_MonthlyUsageSummary S
');
</Script>
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/UninstallSQLScripts$">
<Script>
if not object_id('[LFXSTG].[v_MeteredProductRuleTx]') is null
drop view [LFXSTG].[v_MeteredProductRuleTx];
if not object_id('[LFXSTG].[v_MonthlyUsageSummaryTx]') is null
drop view [LFXSTG].[v_MonthlyUsageSummaryTx];
</Script>
</Property>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">
MeteredProductRulesView
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">
C.Lfx_Timestamp
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">
0
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">
C.Lfx_RowId
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">
0
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">
500
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">
False
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">
select C.* from [LFXSTG].v_MeteredProductRuleTx C
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">
MeteredProductRulesConsumerCollection
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">
dbo.v_MeteredProductRule
</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">
MonthlyUsageSummaryView
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">
E.Lfx_Timestamp
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">
0
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">
E.Lfx_RowId
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">
0
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">
500
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">
False
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">
SELECT E.Lfx_Timestamp,
E.Lfx_RowId,
E.Lfx_SourceId,
E.Lfx_Status,
E.TimeKey,
E.UsageCount,
E.TerminalServiceUsageCount,
E.UsageTime,
E.LastUsage,
E.ResourceID,
E.FileID,
E.MeteredUserID
FROM [LFXSTG].v_MonthlyUsageSummaryTx E
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">
MonthlyUsageSummaryConsumerCollection
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">
dbo.v_MonthlyUsageSummary
</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">
MonthlySoftwareUsageIsForUserView
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">
E.Lfx_Timestamp
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">
0
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">
E.Lfx_RowId
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">
0
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">
500
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">
False
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">
SELECT E.Lfx_Timestamp,
E.Lfx_RowId,
E.Lfx_SourceId,
E.Lfx_Status,
E.ResourceID,
E.FileID,
E.MeteredUserID,
E.Domain,
E.UserName
FROM [LFXSTG].v_MonthlyUsageSummaryTx E
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">
MonthlySoftwareUsageIsForUserCollection
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">
dbo.v_MonthlyUsageSummary
</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">
MonthlySoftwareUsageIsForComputerView
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">
E.Lfx_Timestamp
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">
0
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">
E.Lfx_RowId
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">
0
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">
500
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">
False
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">
SELECT E.Lfx_Timestamp,
E.Lfx_RowId,
E.Lfx_SourceId,
E.Lfx_Status,
E.ResourceID,
E.FileID,
E.MeteredUserID,
E.PrincipalName
FROM [LFXSTG].v_MonthlyUsageSummaryTx E
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">
MonthlySoftwareUsageIsForComputerCollection
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">
dbo.v_MonthlyUsageSummary
</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">
MonthlySoftwareUsageIsForMeteringRuleView
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">
E.Lfx_Timestamp
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">
0
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">
E.Lfx_RowId
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">
0
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">
500
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">
False
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">
SELECT E.Lfx_Timestamp,
E.Lfx_RowId,
E.Lfx_SourceId,
E.Lfx_Status,
E.ResourceID,
E.FileID,
E.MeteredUserID,
E.SecurityKey
FROM [LFXSTG].v_MonthlyUsageSummaryTx E
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">
MonthlySoftwareUsageIsForMeteringRuleCollection
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">
dbo.v_MonthlyUsageSummary, dbo.v_MeteredProductRule
</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">
MeteredProductRulesConsumerCollection
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">
MeteredProductRulesView
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">
<TypeName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.Itam.SoftwareUsage.SoftwareMeteringRule</TypeName>
<MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.ServiceManager.Itam.SoftwareUsage.Library.V2</MPName>
<MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">1.1.2226.0</MPVersion>
<MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">7c0e08a556dae555</MPToken>
</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">
MonthlyUsageSummaryConsumerCollection
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">
MonthlyUsageSummaryView
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">
<TypeName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.Itam.SoftwareUsage.MonthlySoftwareUsage</TypeName>
<MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.ServiceManager.Itam.SoftwareUsage.Library.V2</MPName>
<MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">1.1.2226.0</MPVersion>
<MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">7c0e08a556dae555</MPToken>
</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">
MonthlySoftwareUsageIsForUserCollection
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">
MonthlySoftwareUsageIsForUserView
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">
<RelationshipName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.Itam.SoftwareUsage.MonthlySoftwareUsageIsForUser</RelationshipName>
<MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.ServiceManager.Itam.SoftwareUsage.Library.V2</MPName>
<MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">1.1.2226.0</MPVersion>
<MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">7c0e08a556dae555</MPToken>
<SourceType xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.Itam.SoftwareUsage.MonthlySoftwareUsage</SourceType>
<SourceMPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.ServiceManager.Itam.SoftwareUsage.Library.V2</SourceMPName>
<SourceMPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">1.1.2226.0</SourceMPVersion>
<SourceMPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">7c0e08a556dae555</SourceMPToken>
<TargetType xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">System.Domain.User</TargetType>
<TargetMPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">System.Library</TargetMPName>
<TargetMPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">7.0.5000.0</TargetMPVersion>
<TargetMPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">31bf3856ad364e35</TargetMPToken>
</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">
MonthlySoftwareUsageIsForComputerCollection
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">
MonthlySoftwareUsageIsForComputerView
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">
<RelationshipName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.Itam.SoftwareUsage.MonthlySoftwareUsageIsForComputer</RelationshipName>
<MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.ServiceManager.Itam.SoftwareUsage.Library.V2</MPName>
<MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">1.1.2226.0</MPVersion>
<MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">7c0e08a556dae555</MPToken>
</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">
MonthlySoftwareUsageIsForMeteringRuleCollection
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">
MonthlySoftwareUsageIsForMeteringRuleView
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">
<RelationshipName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.Itam.SoftwareUsage.MonthlySoftwareUsageIsForMeteringRule</RelationshipName>
<MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">Provance.ServiceManager.Itam.SoftwareUsage.Library.V2</MPName>
<MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">1.1.2226.0</MPVersion>
<MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09">7c0e08a556dae555</MPToken>
</Property>
</Object>
</ObjectTemplate>