SPFarm.DefaultServiceAccount 属性
获取默认服务的进程帐户。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property DefaultServiceAccount As SPProcessAccount
Get
用法
Dim instance As SPFarm
Dim value As SPProcessAccount
value = instance.DefaultServiceAccount
public SPProcessAccount DefaultServiceAccount { get; }
属性值
类型:Microsoft.SharePoint.Administration.SPProcessAccount
SPProcessAccount 是默认服务的进程帐户。