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
- obj
Type: Microsoft.AnalysisServices.DatabasePermission
Specifies the DatabasePermission object where the current object is to be copied.
Return Value
Type: Microsoft.AnalysisServices.DatabasePermission
A reference to the copied object.