Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Initializes a new instance of the InvalidSmoOperationException class with the specified message and SQL Server Management Objects (SMO) state.
Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
opName As String, _
state As SqlSmoState _
)
public InvalidSmoOperationException (
string opName,
SqlSmoState state
)
public:
InvalidSmoOperationException (
String^ opName,
SqlSmoState state
)
public InvalidSmoOperationException (
String opName,
SqlSmoState state
)
public function InvalidSmoOperationException (
opName : String,
state : SqlSmoState
)
Paramètres
- opName
A String value that specifies the name of the SMO operation that is not valid.
- state
A SqlSmoState object value that specifies the state of the SMO operation.
Notes
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Exemple
How to: Catch an Exception in Visual Basic .NET
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
InvalidSmoOperationException Class
InvalidSmoOperationException Members
Microsoft.SqlServer.Management.Smo Namespace