Home Forums Programming SMO/RMO/DMO SMO.Scripter: Help Walking a DependencyCollection RE: SMO.Scripter: Help Walking a DependencyCollection

  • use the Urn.Type for your requirement

    foreach (DependencyCollectionNode dcoln in dcollect)

    {

    if( dcoln.urn.Type=="View")

    -- do what you want

    }

    Every rule in a world of bits and bytes, can be bend or eventually be broken
    MyBlog About Common dialog control
    A Visualizer for viewing SqlCommand object script [/url]