Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the name of the database object to which the database refers.
Namespace: Microsoft.VisualStudio.Data.Interop
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Function GetName ( _
drnidCurr As IntPtr _
) As String
string GetName(
IntPtr drnidCurr
)
String^ GetName(
[InAttribute] IntPtr drnidCurr
)
abstract GetName :
drnidCurr:IntPtr -> string
function GetName(
drnidCurr : IntPtr
) : String
Parameters
- drnidCurr
Type: System.IntPtr
[in] DSREFNODEID of the node whose database object name is to be retrieved.
Return Value
Type: System.String
Returns NOERROR if successful. Otherwise, it returns an unspecified failure code.
Examples
IDSRefConsumer* m_srpCurrentDSRef;
DSREFNODEID id;
BSTR bstrText;
m_srpCurrentDSRef->GetName(id, &bstrText);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.