Share via


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetComponentName Method

Retrieves the name of the specified object.

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Private Function GetComponentName As String 
    Implements ICustomTypeDescriptor.GetComponentName
'Usage
Dim instance As AdoDotNetConnectionProperties 
Dim returnValue As String 

returnValue = CType(instance, ICustomTypeDescriptor).GetComponentName()
string ICustomTypeDescriptor.GetComponentName()
private:
virtual String^ GetComponentName() sealed = ICustomTypeDescriptor::GetComponentName
JScript does not support explicit interface implementations.

Return Value

Type: System.String
Returns the name of the object, or nulla null reference (Nothing in Visual Basic) if the object does not have a name.

Implements

ICustomTypeDescriptor.GetComponentName()

Remarks

In cases where the method returns nulla null reference (Nothing in Visual Basic), use the default name.

This method provides an implementation of the GetComponentName method. For more information see the GetComponentName method in the .NET Framework class library.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

AdoDotNetConnectionProperties Members

Microsoft.VisualStudio.Data.AdoDotNet Namespace