Ressourcen für IT-Professionals > Forenhomepage > Configuration Manager SDK > How do I create a new Driver Category using managed code.
Stellen Sie eine FrageStellen Sie eine Frage
 

Allgemeine DiskussionHow do I create a new Driver Category using managed code.

  • Donnerstag, 19. November 2009 19:26Shawn Willhelm TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    We are writing an application to import drivers and build packages automatically. so far everything works except we are not able to create new driver categories, only add existing categories to our driver.
    I have attempted to create a new category using SMS_CategoryInstance but failed to realize the LocalizedCategoryInstanceName was read-only and now I have a blank category that i cannot delete as its not properly created.

    thank you

    Shawn

Alle Antworten

  • Dienstag, 9. März 2010 15:50Martin Zugec TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    Hi Shawn,

    LocalizedCategoryInstanceName  is read only, but that shouldn't be any problem for you, because you can write LocalizedInformation.

    When you assign new instance of SMS_Category_LocalizedProperties to LocalizedInformation, LocalizedCategoryInstanceName is automatically filled.

    Martin