Właściwość IServerPerformanceFacet.OpenObjects
Właściwość OpenObjects pobiera wystąpienie SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<DisplayNameKeyAttribute("OpenObjectsName")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
<DisplayDescriptionKeyAttribute("OpenObjectsDesc")> _
Property OpenObjects As Integer
Get
Set
'Użycie
Dim instance As IServerPerformanceFacet
Dim value As Integer
value = instance.OpenObjects
instance.OpenObjects = value
[DisplayNameKeyAttribute("OpenObjectsName")]
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
[DisplayDescriptionKeyAttribute("OpenObjectsDesc")]
int OpenObjects { get; set; }
[DisplayNameKeyAttribute(L"OpenObjectsName")]
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
[DisplayDescriptionKeyAttribute(L"OpenObjectsDesc")]
property int OpenObjects {
int get ();
void set (int value);
}
[<DisplayNameKeyAttribute("OpenObjectsName")>]
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
[<DisplayDescriptionKeyAttribute("OpenObjectsDesc")>]
abstract OpenObjects : int with get, set
function get OpenObjects () : int
function set OpenObjects (value : int)
Wartość właściwości
Typ: System.Int32
Int32
Zobacz także