DelegateGetSQLServerByName Délégué
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une valeur indiquant si le SQL Server est défini ny instance nom.
public delegate bool DelegateGetSQLServerByName(System::String ^ sHostName, System::String ^ sInstanceName, StringBuilder ^ sSQLServer, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSQLServerByName(string sHostName, string sInstanceName, StringBuilder sSQLServer, out uint pdwSize);
type DelegateGetSQLServerByName = delegate of string * string * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSQLServerByName(sHostName As String, sInstanceName As String, sSQLServer As StringBuilder, ByRef pdwSize As UInteger) As Boolean
Paramètres
- sHostName
- String
Nom de l’hôte.
- sInstanceName
- String
Nom de l’instance.
- sSQLServer
- StringBuilder
Chaîne de caractères dans le SQL Server.
- pdwSize
- UInt32
Taille estimée de la structure retournée, en octets.
Valeur renvoyée
truesi le SQL Server est défini sur ny instance nom ; sinon, false.