Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the CollectionNotAvailableException class with the specified collection and the version of the instance of Microsoft SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
colname As String, _
serverVersion As ServerVersion _
)
'Usage
Dim colname As String
Dim serverVersion As ServerVersion
Dim instance As New CollectionNotAvailableException(colname, _
serverVersion)
public CollectionNotAvailableException(
string colname,
ServerVersion serverVersion
)
public:
CollectionNotAvailableException(
String^ colname,
ServerVersion^ serverVersion
)
new :
colname:string *
serverVersion:ServerVersion -> CollectionNotAvailableException
public function CollectionNotAvailableException(
colname : String,
serverVersion : ServerVersion
)
Parameters
- colname
Type: System.String
A String value that specifies the name of the collection that is not available.
- serverVersion
Type: Microsoft.SqlServer.Management.Common.ServerVersion
A ServerVersion object value that specifies the version of the instance of SQL Server that raised the exception.
Examples
See Also
Reference
CollectionNotAvailableException Class