CollectionNotAvailableException Constructor (String, ServerVersion)

 

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)

public CollectionNotAvailableException(
	string colname,
	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.

Return to top
Show: