ServiceIdentity.ParseName 方法

分析该名称。accountName 和大小。以前:“我的服务 Acccount (尖端)”。后面:accountName:“我的服务帐户”范围:“(尖端)”

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Shared Sub ParseName ( _
    name As String, _
    <OutAttribute> ByRef accountName As String, _
    <OutAttribute> ByRef scope As String _
)
public static void ParseName(
    string name,
    out string accountName,
    out string scope
)

参数

  • name
    类型:System.String
    名称,例如,“我的服务帐户 (尖端)”。
  • accountName
    类型:System.String%
    分析的帐户名,例如,“我的服务帐户”。
  • scope
    类型:System.String%
    分析的大小,如“(尖端)”。

.NET Framework 安全性

请参见

参考

ServiceIdentity 类

Microsoft.TeamFoundation.Framework.Server 命名空间