共用方式為


IService.UserPreferencesUpdate 方法

Updates the current user’s preferences.

命名空間:  Microsoft.MasterDataServices
組件:  Microsoft.MasterDataServices (在 Microsoft.MasterDataServices.dll 中)

語法

'宣告
<OperationContractAttribute(Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/UserPreferencesUpdate",  _
    ReplyAction := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/UserPreferencesUpdateResponse")> _
<FaultContractAttribute(GetType(EditionExpiredMessage), Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/UserPreferencesUpdateEditionExpiredMessageFault",  _
    Name := "EditionExpiredMessage")> _
Function UserPreferencesUpdate ( _
    request As UserPreferencesUpdateRequest _
) As UserPreferencesUpdateResponse
'用途
Dim instance As IService
Dim request As UserPreferencesUpdateRequest
Dim returnValue As UserPreferencesUpdateResponse

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

參數

傳回值

型別:Microsoft.MasterDataServices.UserPreferencesUpdateResponse
A new instance of type UserPreferencesUpdateResponse.

請參閱

參考

IService 介面

Microsoft.MasterDataServices 命名空間