Partager via


Méthode IService.SecurityPrivilegesClone

Creates exact copies of permissions within the security model from another source, retaining the GUIDs of the original objects.

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

Syntaxe

'Déclaration
<FaultContractAttribute(GetType(EditionExpiredMessage), Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneEditionExpiredMessageFault",  _
    Name := "EditionExpiredMessage")> _
<OperationContractAttribute(Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesClone",  _
    ReplyAction := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneResponse")> _
Function SecurityPrivilegesClone ( _
    request As SecurityPrivilegesRequest _
) As MessageResponse
'Utilisation
Dim instance As IService
Dim request As SecurityPrivilegesRequest
Dim returnValue As MessageResponse

returnValue = instance.SecurityPrivilegesClone(request)
[FaultContractAttribute(typeof(EditionExpiredMessage), Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneEditionExpiredMessageFault", 
    Name = "EditionExpiredMessage")]
[OperationContractAttribute(Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesClone", 
    ReplyAction = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneResponse")]
MessageResponse SecurityPrivilegesClone(
    SecurityPrivilegesRequest request
)
[FaultContractAttribute(typeof(EditionExpiredMessage), Action = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneEditionExpiredMessageFault", 
    Name = L"EditionExpiredMessage")]
[OperationContractAttribute(Action = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesClone", 
    ReplyAction = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneResponse")]
MessageResponse^ SecurityPrivilegesClone(
    SecurityPrivilegesRequest^ request
)
[<FaultContractAttribute(typeof(EditionExpiredMessage), Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneEditionExpiredMessageFault", 
    Name = "EditionExpiredMessage")>]
[<OperationContractAttribute(Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesClone", 
    ReplyAction = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneResponse")>]
abstract SecurityPrivilegesClone : 
        request:SecurityPrivilegesRequest -> MessageResponse
function SecurityPrivilegesClone(
    request : SecurityPrivilegesRequest
) : 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