ServerName Property

This property specifies the name of the server.

Syntax

ReplicationServer. ServerName

Remarks

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

Get, Put


© 1997-1998 Microsoft Corporation. All rights reserved.