DelegateGetInstanceNameFromID Delegado

Definición

Obtiene un valor que indica si el nombre de instancia instalado del identificador de instancia representa un componente SQL instalado.

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 

Parámetros

pInstanceID
INST_ID

Puntero al identificador de la instancia pertinente.

sInstanceName
StringBuilder

Valor de tipo String que representa el nombre de instancia.

pdwSize
UInt32

Puntero a un valor DWORD para proporcionar la longitud del búfer. Devuelve la longitud requerida si el búfer proporcionado es demasiado pequeño.

Valor devuelto

true si el nombre de instancia instalado del identificador de instancia representa un componente SQL instalado; de lo contrario, false.

Se aplica a