CloudAccountDiagnosticMonitorExtensions.CreateDeploymentDiagnosticManager Method
Creates a new instance of the DeploymentDiagnosticManager class for the specified deployment.
Namespace: Microsoft.WindowsAzure.Diagnostics.Management
Assembly: Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)
Syntax
'Declaration
Public Shared Function CreateDeploymentDiagnosticManager ( _
connectionString As String, _
deploymentId As String _
) As DeploymentDiagnosticManager
public static DeploymentDiagnosticManager CreateDeploymentDiagnosticManager (
string connectionString,
string deploymentId
)
public:
static DeploymentDiagnosticManager^ CreateDeploymentDiagnosticManager (
String^ connectionString,
String^ deploymentId
)
Parameters
- connectionString
The connection string for the storage account.
- deploymentId
The deployment ID for the current deployment.
Return Value
Returns DeploymentDiagnosticManager.
Remarks
The CreateDeploymentDiagnosticManager extension method enables you to use a connection string to create a DeploymentDiagnosticManager. The method will create the DeploymentDiagnosticManager and use the storage account specified by the connection string to access the diagnostics configuration.
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
CloudAccountDiagnosticMonitorExtensions Class
CloudAccountDiagnosticMonitorExtensions Members
Microsoft.WindowsAzure.Diagnostics.Management Namespace