DelegateGetSQLServiceByName Delegato
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.
Rappresenta il servizio SQL dal nome dell'istanza.
public delegate bool DelegateGetSQLServiceByName(System::String ^ sInstanceName, SQL_SVCS Service, StringBuilder ^ sServiceName, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSQLServiceByName(string sInstanceName, SQL_SVCS Service, StringBuilder sServiceName, out uint pdwSize);
type DelegateGetSQLServiceByName = delegate of string * SQL_SVCS * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSQLServiceByName(sInstanceName As String, Service As SQL_SVCS, sServiceName As StringBuilder, ByRef pdwSize As UInteger) As Boolean
Parametri
- sInstanceName
- String
Valore String che rappresenta il nome dell'istanza.
- Service
- SQL_SVCS
Servizio SQL.
- sServiceName
- StringBuilder
Nome del servizio SQL.
- 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
Un Boolean valore contiene il servizio SQL in base al nome dell'istanza.