DelegateGetSQLServerByID 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 le serveur SQL par identifiant d’instance.
public delegate bool DelegateGetSQLServerByID(System::String ^ sHostName, INST_ID ^ pInstanceID, StringBuilder ^ sSQLServer, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSQLServerByID(string sHostName, INST_ID pInstanceID, StringBuilder sSQLServer, out uint pdwSize);
type DelegateGetSQLServerByID = delegate of string * INST_ID * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSQLServerByID(sHostName As String, pInstanceID As INST_ID, sSQLServer As StringBuilder, ByRef pdwSize As UInteger) As Boolean
Paramètres
- sHostName
- String
Une valeur String qui représente le nom de l’hôte.
- pInstanceID
- INST_ID
Un pointeur vers l’ID d’instance de l’instance concernée.
- sSQLServer
- StringBuilder
Le SQL Server.
- pdwSize
- UInt32
Restitue la longueur requise si le tampon fourni est trop petit.
Valeur renvoyée
Une Boolean valeur contient le serveur SQL par identifiant d’instance.