DelegateGetSQLDataRootByInstName Delegado

Definición

Obtiene el directorio raíz de datos de SQL por el nombre de instancia.

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

Parámetros

sInstanceName
String

Valor de tipo String que representa el nombre de la instancia.

sPath
StringBuilder

Puntero a un búfer para recibir la ruta de acceso.

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 valor contiene el resultado de la raíz de datos SQL; de lo contrario, false.

Se aplica a