CollectionNotAvailableException.CollectionName Property

Gets the name of the collection that is not available.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property CollectionName As String 
    Get
'Usage
Dim instance As CollectionNotAvailableException 
Dim value As String 

value = instance.CollectionName
public string CollectionName { get; }
public:
property String^ CollectionName {
    String^ get ();
}
member CollectionName : string
function get CollectionName () : String

Property Value

Type: System.String
A String value that specifies the name of the collection that is not available.

Examples

Handling SMO Exceptions

See Also

Reference

CollectionNotAvailableException Class

Microsoft.SqlServer.Management.Smo Namespace