ModuleOperationsExtensions.Delete Method
Delete the module by name. (see https://aka.ms/azureautomationsdk/moduleoperations for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Usage
'Usage
Dim operations As IModuleOperations
Dim automationAccount As String
Dim moduleName As String
Dim returnValue As AzureOperationResponse
returnValue = ModuleOperationsExtensions.Delete(operations, automationAccount, moduleName)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Delete ( _
operations As IModuleOperations, _
automationAccount As String, _
moduleName As String _
) As AzureOperationResponse
[ExtensionAttribute]
public static AzureOperationResponse Delete (
IModuleOperations operations,
string automationAccount,
string moduleName
)
[ExtensionAttribute]
public:
static AzureOperationResponse^ Delete (
IModuleOperations^ operations,
String^ automationAccount,
String^ moduleName
)
/** @attribute ExtensionAttribute() */
public static AzureOperationResponse Delete (
IModuleOperations operations,
String automationAccount,
String moduleName
)
ExtensionAttribute
public static function Delete (
operations : IModuleOperations,
automationAccount : String,
moduleName : String
) : AzureOperationResponse
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Management.Automation.IModuleOperations.
- automationAccount
Required. The automation account name.
- moduleName
Required. The module name.
Return Value
A standard service response including an HTTP status code and request ID.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
ModuleOperationsExtensions Class
ModuleOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace