For an integer , the -connectivity (-edge-connectivity) of a graph of order is the minimum number of vertices (edges) that need to be deleted from to produce a disconnected graph with at least components or a graph with at most vertices. Let be a graph of order and -connectivity . For each , let be the minimum -edge-connectivity among all graphs obtained from by deleting vertices from . Then is the -connectivity function of . The -connectivity functions of complete multipartite graphs and caterpillars are determined.