Share via


IService.ServiceCheck Method

Determines if the Master Data Services Web service is running and is connected to the database.

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Syntax

'Declaration
<OperationContractAttribute(Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheck",  _
    ReplyAction := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheckResponse")> _
<FaultContractAttribute(GetType(EditionExpiredMessage), Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheckEditionExpiredMessageFault",  _
    Name := "EditionExpiredMessage")> _
Function ServiceCheck ( _
    request As ServiceCheckGetRequest _
) As MessageResponse
'Usage
Dim instance As IService
Dim request As ServiceCheckGetRequest
Dim returnValue As MessageResponse

returnValue = instance.ServiceCheck(request)
[OperationContractAttribute(Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheck", 
    ReplyAction = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheckResponse")]
[FaultContractAttribute(typeof(EditionExpiredMessage), Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheckEditionExpiredMessageFault", 
    Name = "EditionExpiredMessage")]
MessageResponse ServiceCheck(
    ServiceCheckGetRequest request
)
[OperationContractAttribute(Action = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheck", 
    ReplyAction = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheckResponse")]
[FaultContractAttribute(typeof(EditionExpiredMessage), Action = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheckEditionExpiredMessageFault", 
    Name = L"EditionExpiredMessage")]
MessageResponse^ ServiceCheck(
    ServiceCheckGetRequest^ request
)
[<OperationContractAttribute(Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheck", 
    ReplyAction = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheckResponse")>]
[<FaultContractAttribute(typeof(EditionExpiredMessage), Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/ServiceCheckEditionExpiredMessageFault", 
    Name = "EditionExpiredMessage")>]
abstract ServiceCheck : 
        request:ServiceCheckGetRequest -> MessageResponse
function ServiceCheck(
    request : ServiceCheckGetRequest
) : MessageResponse

Parameters

Return Value

Type: Microsoft.MasterDataServices.MessageResponse
A new instance of type MessageResponse.

See Also

Reference

IService Interface

Microsoft.MasterDataServices Namespace