Condividi tramite


Metodo Remove

Removes a permission from the permission set.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function Remove ( _
    permission As DatabasePermission _
) As DatabasePermissionSet
'Utilizzo
Dim instance As DatabasePermissionSet
Dim permission As DatabasePermission
Dim returnValue As DatabasePermissionSet

returnValue = instance.Remove(permission)
public DatabasePermissionSet Remove(
    DatabasePermission permission
)
public:
DatabasePermissionSet^ Remove(
    DatabasePermission^ permission
)
member Remove : 
        permission:DatabasePermission -> DatabasePermissionSet 
public function Remove(
    permission : DatabasePermission
) : DatabasePermissionSet

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabasePermissionSet
A DatabasePermissionSet object that specifies the permission set after the permission is removed.