InstAPI.GetInstanceIDFromService(String, INST_ID) Method

Definition

Retrieves the instance ID from the full-text search (FTS) service.

public:
 static bool GetInstanceIDFromService(System::String ^ serviceName, Microsoft::SqlServer::INST_ID ^ instanceID);
public static bool GetInstanceIDFromService (string serviceName, Microsoft.SqlServer.INST_ID instanceID);
static member GetInstanceIDFromService : string * Microsoft.SqlServer.INST_ID -> bool
Public Shared Function GetInstanceIDFromService (serviceName As String, instanceID As INST_ID) As Boolean

Parameters

serviceName
String

A String value that contains the name of the service

instanceID
INST_ID

The instance identifier.

Returns

true if successful; otherwise, false.

Applies to