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 que le SQL Server soit défini dans le nom de l’instance.
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
La chaîne de caractères dans le SQL Server.
- pdwSize
- UInt32
La taille estimée de la structure était renvoyée, en octets.
Valeur renvoyée
truesi le SQL Server est défini par ny nom d’instance ; sinon, false.