Partager via


Méthode IService.ServiceCheck

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

Espace de noms :  Microsoft.MasterDataServices
Assembly :  Microsoft.MasterDataServices (en Microsoft.MasterDataServices.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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

Paramètres

Valeur de retour

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

Voir aussi

Référence

IService Interface

Espace de noms Microsoft.MasterDataServices