Share via


SecurityPrincipal.PrincipalType Property

Gets or sets the type of the principal.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property PrincipalType As PrincipalType
public PrincipalType PrincipalType { get; set; }
public:
property PrincipalType PrincipalType {
    PrincipalType get ();
    void set (PrincipalType value);
}
member PrincipalType : PrincipalType with get, set
function get PrincipalType () : PrincipalType
function set PrincipalType (value : PrincipalType)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.PrincipalType
Returns a PrincipalType enumeration value.

.NET Framework Security

See Also

Reference

SecurityPrincipal Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace