NativeMethods.ChangeServiceConfig, méthode
Ce type a un attribut SecurityCriticalAttribute, qui le limite à un usage interne par la bibliothèque de classes .NET Framework pour Silverlight. Un code d'application qui utilise un membre de ce type lève une exception MethodAccessException.
Espace de noms : Microsoft.TeamFoundation.Common.Internal
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Function ChangeServiceConfig ( _
serviceHandle As ServiceHandle, _
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
public static int ChangeServiceConfig(
ServiceHandle serviceHandle,
uint type,
uint startType,
uint errorControl,
string binaryPathName,
string loadOrderGroup,
string tagId,
string dependencies,
string accountName,
string password,
string displayName
)
Paramètres
- serviceHandle
Type : Microsoft.TeamFoundation.Common.Internal.ServiceHandle
- 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