获取或设置在其下运行应用程序的标识的类型。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property CurrentIdentityType As IdentityType
Get
Set
用法
Dim instance As SPProcessIdentity
Dim value As IdentityType
value = instance.CurrentIdentityType
instance.CurrentIdentityType = value
public IdentityType CurrentIdentityType { get; set; }
属性值
类型:Microsoft.SharePoint.Administration.IdentityType
一个IdentityType值,指定的标识类型。
异常
| 异常 | 条件 |
|---|---|
| ArgumentException | 用户尝试更改SPApplicationPool开始使用本地系统或本地服务。 |