Compartilhar via


DataCollectionContext.SessionId Property

Gets the SessionId for the session under which the data collection occurs. Will not be nulla null reference (Nothing in Visual Basic).

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
Public ReadOnly Property SessionId As SessionId
public SessionId SessionId { get; }
public:
property SessionId^ SessionId {
    SessionId^ get ();
}
member SessionId : SessionId with get
function get SessionId () : SessionId

Property Value

Type: Microsoft.VisualStudio.TestTools.Common.SessionId
A SessionId object.

Remarks

This value will not be nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DataCollectionContext Class

Microsoft.VisualStudio.TestTools.Execution Namespace

SessionId

TestExecId