OperatingSystemInfoRequireServer Method |
Determines whether the operating system is a server operating system of atleast the specified
serverVersion and
serverServicePackVersion and throws an
UnsupportedOperatingSystemException otherwise.
Namespace: Alphaleonis.Win32.VssAssembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.3.0.0 (1.3.0.0)
Syntaxpublic static void RequireServer(
OSVersionName serverVersion,
int serverServicePackVersion
)
Public Shared Sub RequireServer (
serverVersion As OSVersionName,
serverServicePackVersion As Integer
)
public:
static void RequireServer(
OSVersionName serverVersion,
int serverServicePackVersion
)
Parameters
- serverVersion
- Type: Alphaleonis.Win32.VssOSVersionName
The server version. - serverServicePackVersion
- Type: SystemInt32
The server service pack version.
See Also