InstAPI.GetSvcInstRootRegPathByName(String, SQL_SVCS, StringBuilder, UInt32) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Recupera la radice del percorso del Registro di sistema per un'istanza SQL specifica in base al nome descrittivo dell'istanza specificato.
public:
static bool GetSvcInstRootRegPathByName(System::String ^ instanceName, Microsoft::SqlServer::SQL_SVCS product, System::Text::StringBuilder ^ registryPath, System::UInt32 % bufferSize);
public static bool GetSvcInstRootRegPathByName (string instanceName, Microsoft.SqlServer.SQL_SVCS product, System.Text.StringBuilder registryPath, ref uint bufferSize);
static member GetSvcInstRootRegPathByName : string * Microsoft.SqlServer.SQL_SVCS * System.Text.StringBuilder * uint32 -> bool
Public Shared Function GetSvcInstRootRegPathByName (instanceName As String, product As SQL_SVCS, registryPath As StringBuilder, ByRef bufferSize As UInteger) As Boolean
Parametri
- product
- SQL_SVCS
Servizio SQL.
- registryPath
- StringBuilder
Un puntatore a un buffer per la ricezione del percorso del Registro di sistema.
- bufferSize
- UInt32
Un puntatore a un valore DWORD per fornire la lunghezza del buffer. Restituisce la lunghezza obbligatoria se il buffer fornito è troppo piccolo.
Restituisce
true se la chiamata ha avuto esito positivo; in caso contrario, false.