Share via


SPUrlUtility.IsProtocolAllowed method

Gets a Boolean value indicating whether the specified URL uses a supported protocol.

Overload list

  Name Description
Public methodStatic member IsProtocolAllowed(String) Gets a Boolean value indicating whether the specified URL uses a supported protocol.
Public methodStatic member IsProtocolAllowed(String, Boolean) Gets a Boolean value indicating whether the specified URL uses a supported protocol.

Top

Remarks

To return an array of allowed protocols, use the AllowedProtocols property.

See also

Reference

SPUrlUtility class

SPUrlUtility members

Microsoft.SharePoint.Utilities namespace