ConfigurationHelper.ChangeServiceConfig, méthode
Cette API n'est pas conforme CLS.
Espace de noms : Microsoft.TeamFoundation.Build.Common
Assembly : Microsoft.TeamFoundation.Build.Common (dans Microsoft.TeamFoundation.Build.Common.dll)
Syntaxe
'Déclaration
<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
)
Paramètres
- handle
Type : System.Runtime.InteropServices.SafeHandle
- type
Type : System.UInt32
- startType
Type : System.UInt32
- errorControl
Type : System.UInt32
- binaryPathName
Type : System.String
- loadOrderGroup
Type : System.String
- tagId
Type : System.String
- dependencies
Type : System.String
- accountName
Type : System.String
- password
Type : System.String
- displayName
Type : System.String
Valeur de retour
Type : System.Int32
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.