Метод 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.
См. также