ID 屬性
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayNameKeyAttribute("Database_IDName")> _
<DisplayDescriptionKeyAttribute("Database_IDDesc")> _
ReadOnly Property ID As Integer
Get
'用途
Dim instance As IDatabaseOptions
Dim value As Integer
value = instance.ID
[DisplayNameKeyAttribute("Database_IDName")]
[DisplayDescriptionKeyAttribute("Database_IDDesc")]
int ID { get; }
[DisplayNameKeyAttribute(L"Database_IDName")]
[DisplayDescriptionKeyAttribute(L"Database_IDDesc")]
property int ID {
int get ();
}
[<DisplayNameKeyAttribute("Database_IDName")>]
[<DisplayDescriptionKeyAttribute("Database_IDDesc")>]
abstract ID : int
function get ID () : int