Previous in Contents Next in Contents

ServerName Property

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

Get, Put


© 1997-2000 Microsoft Corporation. All rights reserved.