ServerNameHelper.ServerNameNoLocalOrDot(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.