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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.