SPUrlUtility.AllowedProtocols Property
Returns an array of allowed URL protocols.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared ReadOnly Property AllowedProtocols As String()
Get
'Usage
Dim value As String()
value = SPUrlUtility.AllowedProtocols
public static string[] AllowedProtocols { get; }
Property Value
Type: []
A string array that contains the allowed protocols.