InstAPI.GetInstanceIDFromService(String, INST_ID) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- instanceID
- INST_ID
The instance identifier.
Returns
true
if successful; otherwise, false
.