Microsoft.Protocols.TestSuites.MS_SITESS.MS_SITESSAdapter.IsScriptSafeUrl C# (CSharp) Méthode

IsScriptSafeUrl() public méthode

This operation is used to validate whether the specified URLs are valid script safe URLs for the current site.
public IsScriptSafeUrl ( string urls ) : bool[]
urls string An array of string contains all URLs that need to be validated.
Résultat bool[]
        public bool[] IsScriptSafeUrl(string[] urls)
        {
            // Check whether IsScriptSafe operation succeeds.
            bool[] isScriptSafeUrResult = null;
            isScriptSafeUrResult = this.service.IsScriptSafeUrl(urls);

            // Verify the IsScriptSafeResponse structure.
            this.VerifyIsScriptSafeUrl(isScriptSafeUrResult);
            return isScriptSafeUrResult;
        }
        #endregion