ServerPermissionSet.Equals Method (Object)

 

Applies To: SQL Server 2016 Preview

Determines whether the referenced server permission object is equal to a specified object.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

public override bool Equals(
    object o
)
public:
virtual bool Equals(
    Object^ o
) override
override Equals : 
        o:Object -> bool
Public Overrides Function Equals (
    o As Object
) As Boolean

Parameters

Return Value

Type: System.Boolean

A Boolean value that specifies whether the reference server permission object is equal to the specified object.

If True, the objects are equal.

If False (default), the objects are not equal.

Examples

Legacy Code Example

Granting, Revoking, and Denying Permissions

See Also

ServerPermissionSet Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top