ManagementObject.Put Método
Definição
Confirma as alterações feitas no objeto.Commits the changes to the object.
Sobrecargas
Put() |
Confirma as alterações feitas no objeto.Commits the changes to the object. |
Put(ManagementOperationObserver) |
Confirma as alterações no objeto de forma assíncrona.Commits the changes to the object, asynchronously. |
Put(PutOptions) |
Confirma as alterações feitas no objeto.Commits the changes to the object. |
Put(ManagementOperationObserver, PutOptions) |
Confirma as alterações no objeto de forma assíncrona e usando as opções especificadas.Commits the changes to the object asynchronously and using the specified options. |
Put()
Confirma as alterações feitas no objeto.Commits the changes to the object.
public:
System::Management::ManagementPath ^ Put();
public System.Management.ManagementPath Put ();
member this.Put : unit -> System.Management.ManagementPath
Public Function Put () As ManagementPath
Retornos
Um ManagementPath que contém o caminho para o objeto confirmado.A ManagementPath containing the path to the committed object.
Comentários
Segurança do .NET Framework.NET Framework Security
Confiança total para o chamador imediato.Full trust for the immediate caller. Este membro não pode ser usado pelo código parcialmente confiável.This member cannot be used by partially trusted code. Para obter mais informações, consulte usando bibliotecas de código parcialmente confiável.For more information, see Using Libraries from Partially Trusted Code.
Put(ManagementOperationObserver)
Confirma as alterações no objeto de forma assíncrona.Commits the changes to the object, asynchronously.
public:
void Put(System::Management::ManagementOperationObserver ^ watcher);
public void Put (System.Management.ManagementOperationObserver watcher);
member this.Put : System.Management.ManagementOperationObserver -> unit
Public Sub Put (watcher As ManagementOperationObserver)
Parâmetros
- watcher
- ManagementOperationObserver
Um ManagementOperationObserver usado para manipular o progresso e os resultados da operação assíncrona.A ManagementOperationObserver used to handle the progress and results of the asynchronous operation.
Comentários
Segurança do .NET Framework.NET Framework Security
Confiança total para o chamador imediato.Full trust for the immediate caller. Este membro não pode ser usado pelo código parcialmente confiável.This member cannot be used by partially trusted code. Para obter mais informações, consulte usando bibliotecas de código parcialmente confiável.For more information, see Using Libraries from Partially Trusted Code.
Put(PutOptions)
Confirma as alterações feitas no objeto.Commits the changes to the object.
public:
System::Management::ManagementPath ^ Put(System::Management::PutOptions ^ options);
public System.Management.ManagementPath Put (System.Management.PutOptions options);
member this.Put : System.Management.PutOptions -> System.Management.ManagementPath
Public Function Put (options As PutOptions) As ManagementPath
Parâmetros
- options
- PutOptions
As opções para como confirmar as alterações.The options for how to commit the changes.
Retornos
Um ManagementPath que contém o caminho para o objeto confirmado.A ManagementPath containing the path to the committed object.
Comentários
Segurança do .NET Framework.NET Framework Security
Confiança total para o chamador imediato.Full trust for the immediate caller. Este membro não pode ser usado pelo código parcialmente confiável.This member cannot be used by partially trusted code. Para obter mais informações, consulte usando bibliotecas de código parcialmente confiável.For more information, see Using Libraries from Partially Trusted Code.
Put(ManagementOperationObserver, PutOptions)
Confirma as alterações no objeto de forma assíncrona e usando as opções especificadas.Commits the changes to the object asynchronously and using the specified options.
public:
void Put(System::Management::ManagementOperationObserver ^ watcher, System::Management::PutOptions ^ options);
public void Put (System.Management.ManagementOperationObserver watcher, System.Management.PutOptions options);
member this.Put : System.Management.ManagementOperationObserver * System.Management.PutOptions -> unit
Public Sub Put (watcher As ManagementOperationObserver, options As PutOptions)
Parâmetros
- watcher
- ManagementOperationObserver
Um ManagementOperationObserver usado para manipular o progresso e os resultados da operação assíncrona.A ManagementOperationObserver used to handle the progress and results of the asynchronous operation.
- options
- PutOptions
Uma PutOptions usada para especificar opções adicionais para a operação de confirmação.A PutOptions used to specify additional options for the commit operation.
Comentários
Segurança do .NET Framework.NET Framework Security
Confiança total para o chamador imediato.Full trust for the immediate caller. Este membro não pode ser usado pelo código parcialmente confiável.This member cannot be used by partially trusted code. Para obter mais informações, consulte usando bibliotecas de código parcialmente confiável.For more information, see Using Libraries from Partially Trusted Code.