Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetDBName Method
Collapse the table of content
Expand the table of content

SqlSmoObject.GetDBName Method

Gets the database name that is associated with the object.

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

protected internal virtual string GetDBName()

Return Value

Type: System.String
A String value that specifies the name of the object.

Community Additions

© 2015 Microsoft