DataSourcePermission.CopyTo Method (DataSourcePermission)

Copies the current DataSourcePermission to a specified object.

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

Syntax

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

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

Parameters

Return Value

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