SecurityPrincipal.PrincipalType 属性
获取或设置主体的类型。
命名空间: Microsoft.Data.Schema.ScriptDom.Sql
程序集: Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)
语法
声明
Public Property PrincipalType As PrincipalType
Get
Set
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)
属性值
类型:Microsoft.Data.Schema.ScriptDom.Sql.PrincipalType
返回一个 PrincipalType 枚举值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。