Server.CancelSession Método (Int32, Boolean)
Cancels the specified session on the server.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Sub CancelSession ( _
sessionId As Integer, _
cancelAssociated As Boolean _
)
'Uso
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
)
Parámetros
- sessionId
Tipo: System.Int32
The session to cancel.
- cancelAssociated
Tipo: System.Boolean
true to indicate that the associated sessions will be canceled; otherwise, false.