Rau cov hom siv – yuam kev thaum Hmong cov hom

Yog hais tias koj tau “Rau cov hom siv” yuam kev thaum Hmong cov hom.

Hloov lub neej ntawd cov hom rau ntawm daim ntawv teev/qiv, uas yuav siv li txheej no.

Ces sim mus rho tawm plaws hom.

2 lus los ntawm cov hom siv – yuam kev thaum Hmong cov hom

  • KKelaiya

    Yuav ua li cas thiaj nrhiav tau nyob rau hauv uas qiv cov hom siv?

  • Xa mus rau cov kev sib tham nyob rau hauv kuv lub rooj sab laj :
    http://www.mstechblogs.com/Forums/viewtopic.php?f=8&p=12&sid=cee7f065bed1fc88d9759c66b373d4dd#p12

    Koj siv tau cov qauv kwv nrhiav :

    siv zog;
    siv System.Collections.Generic;
    siv Microsoft.SharePoint;

    namespace Test
    {
    hoob kawm ConsoleApp
    {
    zoo li qub tsis muaj dabtsis Main(hlua[] args)
    {
    siv (SPSite siteCollection = tshiab SPSite(“http://localhost”))
    {
    siv (Lub webSite hauv SPWeb = siteCollection.OpenWeb())
    {
    // Tau cov hom obsolete.
    SPContentType obsolete = webSite.ContentTypes[“Xeem”];

    Yog hais tias (dhau caij nyoog != null) // Peb muaj ib cov hom.
    {
    IList usages = SPContentTypeUsage.GetUsages(dhau caij nyoog);
    Yog hais tias (usages.Suav > 0) // Nws yog siv.
    {
    Console.WriteLine(“Cov hom yog siv nyob rau hauv qhov chaw khiav hauj lwm nram qab no:”);
    foreach (SPContentTypeUsage pab nyob rau hauv usages)
    Console.WriteLine(pab.Url);
    }
    lwm yam // Cov hom kawm ntawd yog tsis siv.
    {
    // Rho tawm nws.
    Console.WriteLine(“Hmong cov hom {0}…”, dhau caij nyoog.Lub npe);
    webSite.ContentTypes.Delete(dhau caij nyoog.Tus ID);
    }
    }
    lwm yam // Tsis muaj cov yam nyob.
    {
    Console.WriteLine(“Cov hom tsis muaj nyob rau hauv qhov chaw sau ntawv.”);
    }
    }
    }
    Console.Write(“\nPress sau mus ntxiv…”);
    Console.ReadLine();
    }
    }
    }

    Lwm yam kev xaiv yuav tau siv cov SQL lus nug (ua zoo dev tom muaj qhov pheej hmoo ua ntsis)

    XAIV *
    NTAWM AllUserData
    NYOB QHOV TWG (tp_DirName li '%')
    THIAB ((tp_ContentType = 'Ntawv') thiab tp_ListId ='C8723B19-0DAB-4F19-B195 - 3399D 5375752′)

    Koj yuav nrhiav tau hais los ntawm cov hom khoom. Rho tawm no hais txog cov khoom uas siv cov lus nug hauv qab no.

    RHO TAWM
    NTAWM AllUserData
    NYOB QHOV TWG (tp_DirName li '%')
    THIAB ((tp_ContentType = 'Ntawv') thiab tp_ListId ='C8723B19-0DAB-4F19-B195 - 3399D 5375752′)

sau ntawv cia

Koj siv tau qhov cim npe no HTML

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>