ConfigurationHelper.ChangeServiceConfig 方法

此 API 不兼容 CLS。 

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

语法

声明
<CLSCompliantAttribute(False)> _
Public Shared Function ChangeServiceConfig ( _
    handle As SafeHandle, _
    type As UInteger, _
    startType As UInteger, _
    errorControl As UInteger, _
    binaryPathName As String, _
    loadOrderGroup As String, _
    tagId As String, _
    dependencies As String, _
    accountName As String, _
    password As String, _
    displayName As String _
) As Integer
[CLSCompliantAttribute(false)]
public static int ChangeServiceConfig(
    SafeHandle handle,
    uint type,
    uint startType,
    uint errorControl,
    string binaryPathName,
    string loadOrderGroup,
    string tagId,
    string dependencies,
    string accountName,
    string password,
    string displayName
)

参数

返回值

类型:System.Int32

.NET Framework 安全性

请参见

参考

ConfigurationHelper 类

Microsoft.TeamFoundation.Build.Common 命名空间