共用方式為


IServerPerformanceFacet.OpenObjects 屬性

Gets the OpenObjects property for an instance of SQL Server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("OpenObjectsDesc")> _
<DisplayNameKeyAttribute("OpenObjectsName")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property OpenObjects As Integer 
    Get 
    Set
'用途
Dim instance As IServerPerformanceFacet 
Dim value As Integer 

value = instance.OpenObjects

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

屬性值

型別:System.Int32
The OpenObjects property for an instance of SQL Server.

請參閱

參考

IServerPerformanceFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間