共用方式為


PositionCollection.SyncRoot 屬性

Gets a System.Object that can be used to synchronize access to the collection.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public ReadOnly Property SyncRoot As Object 
    Get
'用途
Dim instance As PositionCollection 
Dim value As Object 

value = instance.SyncRoot
public Object SyncRoot { get; }
public:
virtual property Object^ SyncRoot {
    Object^ get () sealed;
}
abstract SyncRoot : Object 
override SyncRoot : Object
final function get SyncRoot () : Object

屬性值

型別:System.Object
A System.Object that can be used to synchronize access to the collection.

實作

ICollection.SyncRoot

請參閱

參考

PositionCollection 類別

Microsoft.AnalysisServices.AdomdClient 命名空間