SPUrlUtility.AllowedProtocols Property (Microsoft.SharePoint.Utilities)
Returns an array of allowed URL protocols.

Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Shared ReadOnly Property AllowedProtocols As String()
Visual Basic (Usage)
Dim value As String()

value = SPUrlUtility.AllowedProtocols
C#
public static string[] AllowedProtocols { get; }

Property Value

A string array that contains the allowed protocols.
See Also

Tags :


Page view tracker