GetTimeSpan méthode

Gets a TimeSpan that contains the value from the specified column.

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (dans msmgdsrv.dll)

Syntaxe

'Déclaration
Public Function GetTimeSpan ( _
    index As Integer _
) As TimeSpan
'Utilisation
Dim instance As AdomdDataReader
Dim index As Integer
Dim returnValue As TimeSpan

returnValue = instance.GetTimeSpan(index)
public TimeSpan GetTimeSpan(
    int index
)
public:
virtual TimeSpan GetTimeSpan(
    int index
) sealed
abstract GetTimeSpan : 
        index:int -> TimeSpan 
override GetTimeSpan : 
        index:int -> TimeSpan 
public final function GetTimeSpan(
    index : int
) : TimeSpan

Paramètres

Valeur de retour

Type : System. . :: . .TimeSpan
A TimeSpan that contains the value from the specified column.