CancelSession 方法 (Int32, Boolean)
Cancels the specified session on the server.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Sub CancelSession ( _
sessionId As Integer, _
cancelAssociated As Boolean _
)
'用途
Dim instance As Server
Dim sessionId As Integer
Dim cancelAssociated As Boolean
instance.CancelSession(sessionId, cancelAssociated)
public void CancelSession(
int sessionId,
bool cancelAssociated
)
public:
void CancelSession(
int sessionId,
bool cancelAssociated
)
member CancelSession :
sessionId:int *
cancelAssociated:bool -> unit
public function CancelSession(
sessionId : int,
cancelAssociated : boolean
)
參數
- sessionId
型別:System. . :: . .Int32
The session to cancel.
- cancelAssociated
型別:System. . :: . .Boolean
Indicates whether the associated sessions will be canceled.