Previous in Contents Next in Contents

Version Property

This read-only property specifies the version of the server.

Syntax

ReplicationServer.Version

Remarks

You must have Site Server Publishing administrator privileges on the server to call this method.

Example

The following example displays the name and version number of the server.

Option Explicit 
On Error Resume Next

dim ReplServer
set ReplServer = CreateObject("CrsApi.ReplicationServer")
ReplServer.Initialize("")

Wscript.Echo "Server name:    " & ReplServer.ServerName 
Wscript.Echo "       version: " & ReplServer.Version 

'Release objects 
set ReplServer = Nothing 
 

See Also

ServerName


© 1997-2000 Microsoft Corporation. All rights reserved.