SqlSmoObject.GetDBName 方法

Gets the database name that is associated with the object.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Protected Friend Overridable Function GetDBName As String
用法
Dim returnValue As String 

returnValue = Me.GetDBName()
protected internal virtual string GetDBName()
protected public:
virtual String^ GetDBName()
abstract GetDBName : unit -> string  
override GetDBName : unit -> string
function GetDBName() : String

返回值

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

示例

调用方法

请参阅

参考

SqlSmoObject 类

Microsoft.SqlServer.Management.Smo 命名空间