DelegateGetSQLServerByID Délégué

Définition

Obtient le serveur SQL par l'identificateur 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

Valeur string qui représente le nom d’hôte.

pInstanceID
INST_ID

Pointeur vers l'ID d'instance de l'instance appropriée.

sSQLServer
StringBuilder

SQL Server.

pdwSize
UInt32

Retourne la longueur requise si la mémoire tampon fournie est trop petite.

Valeur renvoyée

Une Boolean valeur contient l’identificateur sql server by instance.

S’applique à