Partager via


SecurityPredicate Constructors

Definition

Overloads

SecurityPredicate(SecurityPolicy, Table, String)

Parameterized constructor for creating a security predicate which targets a table. Populates properties from parameter values.

SecurityPredicate(SecurityPolicy, String, String, Int32, String)

Parameterized constructor - populates properties from parameter values.

SecurityPredicate(SecurityPolicy, Table, String)

Parameterized constructor for creating a security predicate which targets a table. Populates properties from parameter values.

public SecurityPredicate (Microsoft.SqlServer.Management.Smo.SecurityPolicy parent, Microsoft.SqlServer.Management.Smo.Table table, string predicateDefinition);
new Microsoft.SqlServer.Management.Smo.SecurityPredicate : Microsoft.SqlServer.Management.Smo.SecurityPolicy * Microsoft.SqlServer.Management.Smo.Table * string -> Microsoft.SqlServer.Management.Smo.SecurityPredicate
Public Sub New (parent As SecurityPolicy, table As Table, predicateDefinition As String)

Parameters

parent
SecurityPolicy

The parent security policy

table
Table

The table to which this predicate applies

predicateDefinition
String

The predicate definition as a string

Applies to

SecurityPredicate(SecurityPolicy, String, String, Int32, String)

Parameterized constructor - populates properties from parameter values.

public SecurityPredicate (Microsoft.SqlServer.Management.Smo.SecurityPolicy parent, string targetObjectSchema, string targetObjectName, int targetObjectId, string predicateDefinition);
new Microsoft.SqlServer.Management.Smo.SecurityPredicate : Microsoft.SqlServer.Management.Smo.SecurityPolicy * string * string * int * string -> Microsoft.SqlServer.Management.Smo.SecurityPredicate
Public Sub New (parent As SecurityPolicy, targetObjectSchema As String, targetObjectName As String, targetObjectId As Integer, predicateDefinition As String)

Parameters

parent
SecurityPolicy

The parent security policy

targetObjectSchema
String

The schema which owns the target object

targetObjectName
String

The target object name

targetObjectId
Int32

The target object's object id

predicateDefinition
String

The predicate definition as a string

Remarks

This constructor allows creation of security predicates against views and other object types.

Applies to