ObjectPermission.ViewDefinition Property
Gets a permission that can be included in the object permission set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared ReadOnly Property ViewDefinition As ObjectPermission
Get
'Usage
Dim value As ObjectPermission
value = ObjectPermission.ViewDefinition
public static ObjectPermission ViewDefinition { get; }
public:
static property ObjectPermission^ ViewDefinition {
ObjectPermission^ get ();
}
static member ViewDefinition : ObjectPermission
static function get ViewDefinition () : ObjectPermission
Property Value
Type: Microsoft.SqlServer.Management.Smo.ObjectPermission
An ObjectPermission object that represents the ViewDefinition permission that can be included in the object permission set.
Examples
Granting, Revoking, and Denying Permissions