Compartir a través de


DatabaseIdParameter Constructor (String)

Initializes a new instance of the DatabaseIdParameter class from the specified database identity string.

Namespace:  Microsoft.Exchange.Configuration.Tasks
Assembly:  Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)

Syntax

'Declaration
Protected Sub New ( _
    identity As String _
)
'Usage
Dim identity As String

Dim instance As New DatabaseIdParameter(identity)
protected DatabaseIdParameter(
    string identity
)

Parameters

Remarks

The DatabaseIdParameter(String) constructor accepts a database identity string in one of the following formats:

  • DatabaseName

  • ServerName#DatabaseName

  • ServerName#StorageGroupName#DatabaseName

If the database identity string is not in a valid format, the constructor throws a System.ArgumentException exception.