Opérateur Inequality
Creates a server permission set by performing an inequality operation on two ServerPermission objects.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Operator <> ( _
p1 As ServerPermission, _
p2 As ServerPermission _
) As Boolean
'Utilisation
Dim p1 As ServerPermission
Dim p2 As ServerPermission
Dim returnValue As Boolean
returnValue = (p1 <> p2)
public static bool operator !=(
ServerPermission p1,
ServerPermission p2
)
public:
static bool operator !=(
ServerPermission^ p1,
ServerPermission^ p2
)
static let inline (<>)
p1:ServerPermission *
p2:ServerPermission : bool
JScript prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- p1
Type : Microsoft.SqlServer.Management.Smo. . :: . .ServerPermission
A ServerPermission object that specifies the server permission.
- p2
Type : Microsoft.SqlServer.Management.Smo. . :: . .ServerPermission
A ServerPermission object that specifies the server permission.
Valeur de retour
Type : System. . :: . .Boolean
A ServerPermissionSet object that specifies a set of server permissions.
Voir aussi