ConnectionCannotBeChangedException Constructor (String)
Initializes a new instance of the ConnectionCannotBeChangedException class with the specified message text.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
'Usage
Dim message As String
Dim instance As New ConnectionCannotBeChangedException(message)
public ConnectionCannotBeChangedException(
string message
)
public:
ConnectionCannotBeChangedException(
String^ message
)
new :
message:string -> ConnectionCannotBeChangedException
public function ConnectionCannotBeChangedException(
message : String
)
Parameters
- message
Type: String
A String value that specifies the message text describing the event that caused the exception.
See Also
Reference
ConnectionCannotBeChangedException Class