This read-only property returns the name of the server.
Syntax
ReplicationServer. ServerName
Example
The following example displays the name of the server.
Option Explicit
On Error Resume Next
dim ReplServer
set ReplServer = CreateObject("CrsApi.ReplicationServer")
ReplServer.Initialize("")
Wscript.Echo "The name of the server is: " & ReplServer.ServerName
'Release Server object
set ReplServer = Nothing
See Also