xSQL Schema Compare SDK for SQL Server version 12
SqlPermission Class Members
Properties  Methods 


The following tables list the members exposed by SqlPermission.

Public Constructors
 NameDescription
Public ConstructorSqlPermission ConstructorInitializes a new instance of the SqlPermission class with the specified parent entity and database.  
Top
Public Properties
 NameDescription
Public PropertyColumn Gets or sets the column on which the permission is granted or denied.  
Public PropertyFullName Gets the full name of the entity formatted as schema.name. If the entity has no schema, only the name is returned. (Inherited from xSQL.Schema.Core.Entity)
Public PropertyFullNameDelimited Gets the delimited full name for the entity formatted as [schema].[name]. (Inherited from xSQL.Schema.SqlServer.SqlEntity)
Public PropertyFullyQualifyingName Gets the fully-qualifying name for the entity. (Inherited from xSQL.Schema.SqlServer.SqlEntity)
Public PropertyFullyQualifyingNameDelimited Gets the fully-qualifying name for the entity with delimiters. (Inherited from xSQL.Schema.SqlServer.SqlEntity)
Public PropertyGranteePrincipal Gets or sets the database principal to which the permission was granted or denied.  
Public PropertyGrantorPrincipal Gets or sets the database principal that granted or denied the permission.  
Public PropertyId Gets or sets a unique id for the entity. (Inherited from xSQL.Schema.Core.Entity)
Public PropertyIsStatementPermission Gets or sets the value that indicates whether the permission is a statement permission.  
Public PropertyName Gets or sets the name of the entity. (Inherited from xSQL.Schema.Core.Entity)
Public PropertyParent Gets the parent entity of this entity. (Inherited from xSQL.Schema.Core.Entity)
Public PropertyPermissionState Gets or sets the permission state such as GRANT or DENY.  
Public PropertyPermissionType Gets or sets the type of permission.  
Public PropertySchema Gets or set the entity schema. (Inherited from xSQL.Schema.Core.Entity)
Public PropertySecurable Gets or sets the name of the securable on which the permission is granted or denied.  
Public PropertySecurableClass Gets or sets the class of the securable on which the permission is granted or denied.  
Public PropertySqlDatabaseGets the SqlDatabase to which the entity belongs. (Inherited from xSQL.Schema.SqlServer.SqlEntity)
Public PropertySqlEntityType Gets the type of the entity. (Inherited from xSQL.Schema.SqlServer.SqlScriptableEntity)
Top
Public Methods
 NameDescription
Public MethodEqualsOverloaded. Returns true if this instance of the SqlScriptableEntity class is equal to the other object, which should also be an instance of SqlScriptableEntity class. (Inherited from xSQL.Schema.SqlServer.SqlScriptableEntity)
Public MethodGetScript Returns the T-SQL script for this entity with the specified scripting options. (Inherited from xSQL.Schema.SqlServer.SqlScriptableEntity)
Public MethodToString Returns a string that contains a description for the permission.  
Top
See Also

Reference

SqlPermission Class
xSQL.Schema.SqlServer Namespace

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback