Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
I Configuration Manager kör den körbara åtgärden ett program eller öppnar en fil med hjälp av det program som är registrerat med Windows för den filtypen.
Följande attribut och element är specifika för en åtgärd som kör ett program:
Elementattributet
ActionDescriptionClassär inställt påExecutable.Elementet
Executableär överordnat tillFilePath``,sökvägen till programmet och till de parametrar som skickas tillParametersden körbara filen.
Exempel på körbar åtgärd i XML
<ActionDescription Class="Executable" DisplayName="Test Action (execute)" MnemonicDisplayName="A test item" Description="A test item Description">
<ShowOn>
<string>DefaultHomeTab</string>
<string>ContextMenu</string>
</ShowOn>
<!--<ResourceAssembly>
<Assembly>Microsoft.ConfigurationManagement.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.Properties.Resources.resources</Type>
</ResourceAssembly>-->
<!--<ImagesDescription>
<ExternalImage>
<Assembly>AdminUI.Package.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.Package.SmsPackageUtils</Type>
<Method>ShowPackageLockedIcon</Method>
</ExternalImage>
<ResourceAssembly>
<Assembly>AdminUI.UIResources.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.UIResources.Properties.Resources.resources</Type>
</ResourceAssembly>
<ImageResourceName>New</ImageResourceName>
</ImagesDescription>-->
<!--<ImagesDescription AliasProperty="OwnedByThisSite">
<ResourceAssembly>
<Assembly>AdminUI.UIResources.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.UIResources.Properties.Resources.resources</Type>
</ResourceAssembly>
<AliasResourceAssembly>
<Assembly>AdminUI.UIResources.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.UIResources.SMS_Collection-OwnedByThisSite.resources</Type>
</AliasResourceAssembly>
<ImageResourceName>CollectionsIcon</ImageResourceName>
</ImagesDescription>-->
<!--<ActionStateAssembly>
<Assembly>AdminUI.Report.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.Report.ReportsUtilityClass</Type>
<Method>EnableReportMenu</Method>
-->
<!--Method signature: public static bool EnableMenu(object sender, ScopeNode scopeNode, ActionDescription action, ResultObjectBase resultObject)-->
<!--
</ActionStateAssembly>-->
<!--<InstancePermissions>
<SecurityFlagsDetailDescription BitName="Delete" BitValue="4" DependsOn="1" />
</InstancePermissions>-->
<!--<MatchPattern>[^1]</MatchPattern>
<MatchValueToTest>##SUB:Order##</MatchValueToTest>-->
<Executable>
<FilePath>https://go.microsoft.com/fwlink/?LinkId=67307</FilePath>
</Executable>
</ActionDescription>
Andra element och attribut dokumenteras i ActionDescription.
Se även
Åtgärder i Configuration ManagerSkapa en åtgärd i Configuration ManagerSå här hittar du ett nod-GUID för Configuration Manager