Поделиться через


Свойство OpenObjects

Gets the OpenObjects property for an instance of SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayDescriptionKeyAttribute("OpenObjectsDesc")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
<DisplayNameKeyAttribute("OpenObjectsName")> _
Property OpenObjects As Integer
    Get
    Set
'Применение
Dim instance As IServerPerformanceFacet
Dim value As Integer

value = instance.OpenObjects

instance.OpenObjects = value
[DisplayDescriptionKeyAttribute("OpenObjectsDesc")]
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
[DisplayNameKeyAttribute("OpenObjectsName")]
int OpenObjects { get; set; }
[DisplayDescriptionKeyAttribute(L"OpenObjectsDesc")]
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
[DisplayNameKeyAttribute(L"OpenObjectsName")]
property int OpenObjects {
    int get ();
    void set (int value);
}
[<DisplayDescriptionKeyAttribute("OpenObjectsDesc")>]
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
[<DisplayNameKeyAttribute("OpenObjectsName")>]
abstract OpenObjects : int with get, set
function get OpenObjects () : int
function set OpenObjects (value : int)

Значение свойства

Тип: System. . :: . .Int32
Int32