## 例

`

     resource sqlsrv_connect ( string $serverName [, array $connectionInfo ] )

`

## 説明

Opens a connection to a Microsoft SQL Server database. By default, the connection is attempted using Windows Authentication. To connect using SQL Server Authentication, include "UID" and "PWD" in the connection options array.

## 戻り値

A connection resource. If a connection cannot be successfully opened, FALSE is returned.