DelegateGetInstanceNameFromID Delegato

Definizione

Ottiene un valore che indica se il nome dell'istanza installata dall'identificatore di istanza rappresenta un componente SQL installato.

public delegate bool DelegateGetInstanceNameFromID(INST_ID ^ pInstanceID, StringBuilder ^ sInstanceName, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetInstanceNameFromID(INST_ID pInstanceID, StringBuilder sInstanceName, out uint pdwSize);
type DelegateGetInstanceNameFromID = delegate of INST_ID * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetInstanceNameFromID(pInstanceID As INST_ID, sInstanceName As StringBuilder, ByRef pdwSize As UInteger) As Boolean 

Parametri

pInstanceID
INST_ID

Puntatore all'ID dell'istanza specifica.

sInstanceName
StringBuilder

Valore String che rappresenta il nome dell'istanza.

pdwSize
UInt32

Un puntatore a un valore DWORD per fornire la lunghezza del buffer. Restituisce la lunghezza obbligatoria se il buffer fornito è troppo piccolo.

Valore restituito

true se il nome dell'istanza installata dall'identificatore di istanza rappresenta un componente SQL installato; in caso contrario, false.

Si applica a