SPUrlUtility.AllowedProtocols property

Returns an array of allowed URL protocols.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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.

See also

Reference

SPUrlUtility class

SPUrlUtility members

Microsoft.SharePoint.Utilities namespace