SPUrlUtility.IsProtocolAllowed SPUrlUtility.IsProtocolAllowed SPUrlUtility.IsProtocolAllowed Method

Definition

Overloads

IsProtocolAllowed(String) IsProtocolAllowed(String) IsProtocolAllowed(String)
IsProtocolAllowed(String, Boolean) IsProtocolAllowed(String, Boolean) IsProtocolAllowed(String, Boolean)

IsProtocolAllowed(String) IsProtocolAllowed(String) IsProtocolAllowed(String)

public:
 static bool IsProtocolAllowed(System::String ^ fullOrRelativeUrl);
public static bool IsProtocolAllowed (string fullOrRelativeUrl);
Public Shared Function IsProtocolAllowed (fullOrRelativeUrl As String) As Boolean
Parameters
fullOrRelativeUrl
String String String
Returns

IsProtocolAllowed(String, Boolean) IsProtocolAllowed(String, Boolean) IsProtocolAllowed(String, Boolean)

public:
 static bool IsProtocolAllowed(System::String ^ fullOrRelativeUrl, bool allowRelativeUrl);
public static bool IsProtocolAllowed (string fullOrRelativeUrl, bool allowRelativeUrl);
Public Shared Function IsProtocolAllowed (fullOrRelativeUrl As String, allowRelativeUrl As Boolean) As Boolean
Parameters
fullOrRelativeUrl
String String String
allowRelativeUrl
Boolean Boolean Boolean
Returns

Applies to