GetSimilar() public static method

public static GetSimilar ( System.Guid siteID, System.Guid rootSnippetID, string categorySlug ) : int
siteID System.Guid
rootSnippetID System.Guid
categorySlug string
return int
Ejemplo n.º 1
0
        public bool IsUniqueSlug()
        {
            string theFileName = this.ContentSnippetSlug;

            int iCount = ContentSnippet.GetSimilar(this.SiteID, this.Root_ContentSnippetID, this.ContentSnippetSlug);

            if (iCount < 1)
            {
                return(true);
            }

            return(false);
        }