IsOS Method
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The IsOS method returns TRUE when an instance of Microsoft SQL Server referenced is running on a computer using the specified operating system.
構文
object
.IsOS(
Type
)
Parts
- object
Expression that evaluates to an object in the Applies To list.
- Type
Long integer that specifies an operating system as described in Settings.
Prototype (C/C++)
HRESULT IsOS(SQLDMO_OS_TYPE lType,
LPBOOL pRetVal);
Settings
Constant | Value | Description |
---|---|---|
SQLDMO_WINNT |
2 |
Microsoft Windows NT 4.0, Microsoft Windows 2000, Microsoft Windows XP, or Microsoft Windows Server 2003 |
Returns
TRUE or FALSE as described in Settings.