Click or drag to resize
ServerInfoProviderGetServerInfo Method (String, Int32)

Note: This API is now obsolete.

Returns the ServerInfo structure for the specified server.

Namespace: CMS.Synchronization
Assembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IServerInfoProvider.Get(string, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - ServerInfo.Provider.")]
public static ServerInfo GetServerInfo(
	string serverName,
	int siteId
)

Parameters

serverName
Type: SystemString
Server name
siteId
Type: SystemInt32
Site ID

Return Value

Type: ServerInfo
See Also