ServerNameHelper.ServerNameNoLocalOrDot(String) Method

Definition

Replaces the local or dot symbols to the local machine name.

public:
 static System::String ^ ServerNameNoLocalOrDot(System::String ^ originalName);
public static string ServerNameNoLocalOrDot (string originalName);
static member ServerNameNoLocalOrDot : string -> string
Public Shared Function ServerNameNoLocalOrDot (originalName As String) As String

Parameters

originalName
String

The original string to return if the special cases are not present in the input string.

Returns

The local or dot symbols to the local machine name to replace.

Applies to