InstAPI.GetSvcInstanceIDFromName 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 l'ID di un'istanza dal nome descrittivo specificato.
Overload
| GetSvcInstanceIDFromName(String, SQL_SVCS, INST_ID) |
Obsoleti.
Recupera l'ID di un'istanza dal nome descrittivo specificato. |
| GetSvcInstanceIDFromName(String, SQL_SVCS) |
Recupera l'ID di un'istanza dal nome descrittivo specificato. |
GetSvcInstanceIDFromName(String, SQL_SVCS, INST_ID)
Attenzione
This overload is obsolete; use GetSvcInstanceIDFromName(instanceName, service), instead.
Recupera l'ID di un'istanza dal nome descrittivo specificato.
public:
static bool GetSvcInstanceIDFromName(System::String ^ instanceName, Microsoft::SqlServer::SQL_SVCS product, Microsoft::SqlServer::INST_ID ^ instanceID);
[System.Obsolete("This overload is obsolete; use GetSvcInstanceIDFromName(instanceName, service), instead.")]
public static bool GetSvcInstanceIDFromName(string instanceName, Microsoft.SqlServer.SQL_SVCS product, Microsoft.SqlServer.INST_ID instanceID);
[<System.Obsolete("This overload is obsolete; use GetSvcInstanceIDFromName(instanceName, service), instead.")>]
static member GetSvcInstanceIDFromName : string * Microsoft.SqlServer.SQL_SVCS * Microsoft.SqlServer.INST_ID -> bool
Public Shared Function GetSvcInstanceIDFromName (instanceName As String, product As SQL_SVCS, instanceID As INST_ID) As Boolean
Parametri
- product
- SQL_SVCS
Servizio SQL.
- instanceID
- INST_ID
Un puntatore a un buffer per ricevere l'ID istanza.
Restituisce
true se la chiamata ha avuto esito positivo; in caso contrario, false.
- Attributi
Si applica a
GetSvcInstanceIDFromName(String, SQL_SVCS)
Recupera l'ID di un'istanza dal nome descrittivo specificato.
public:
static Microsoft::SqlServer::INST_ID ^ GetSvcInstanceIDFromName(System::String ^ instanceName, Microsoft::SqlServer::SQL_SVCS product);
public static Microsoft.SqlServer.INST_ID GetSvcInstanceIDFromName(string instanceName, Microsoft.SqlServer.SQL_SVCS product);
static member GetSvcInstanceIDFromName : string * Microsoft.SqlServer.SQL_SVCS -> Microsoft.SqlServer.INST_ID
Public Shared Function GetSvcInstanceIDFromName (instanceName As String, product As SQL_SVCS) As INST_ID
Parametri
- product
- SQL_SVCS
Servizio SQL.
Restituisce
ID di un'istanza dal nome descrittivo specificato.