Share via


DatabasePermission.CopyTo Method (DatabasePermission)

Copies the current DatabasePermission to the specified object.

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

Syntax

'Declaration
Public Function CopyTo ( _
    obj As DatabasePermission _
) As DatabasePermission
'Usage
Dim instance As DatabasePermission
Dim obj As DatabasePermission
Dim returnValue As DatabasePermission

returnValue = instance.CopyTo(obj)
public DatabasePermission CopyTo(
    DatabasePermission obj
)
public:
DatabasePermission^ CopyTo(
    DatabasePermission^ obj
)
member CopyTo : 
        obj:DatabasePermission -> DatabasePermission 
public function CopyTo(
    obj : DatabasePermission
) : DatabasePermission

Parameters

Return Value

Type: Microsoft.AnalysisServices.DatabasePermission
A reference to the copied object.