IDatabaseOptions.ID 属性
Gets the database ID value.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<DisplayDescriptionKeyAttribute("Database_IDDesc")> _
<DisplayNameKeyAttribute("Database_IDName")> _
ReadOnly Property ID As Integer
Get
用法
Dim instance As IDatabaseOptions
Dim value As Integer
value = instance.ID
[DisplayDescriptionKeyAttribute("Database_IDDesc")]
[DisplayNameKeyAttribute("Database_IDName")]
int ID { get; }
[DisplayDescriptionKeyAttribute(L"Database_IDDesc")]
[DisplayNameKeyAttribute(L"Database_IDName")]
property int ID {
int get ();
}
[<DisplayDescriptionKeyAttribute("Database_IDDesc")>]
[<DisplayNameKeyAttribute("Database_IDName")>]
abstract ID : int
function get ID () : int
属性值
类型:System.Int32
An Integer value that uniquely identifies the database.